The new language intelligence
Sometimes, languages scare the hell out of me. Read jack herrington’s article about using dynamic php for database access to see what i’m talking about. A feature of php 5 is the ability to add member functions and variables to a class at run-time. In Jack’s article, he uses this to create a dynamic class for database access which morphs depending on which table it’s based off of.
I’ve worked with Jack and he’s a brilliant guy, especially since he added many disclaimers, and this quote to his post: “as integrated development environments (IDEs) become more intelligent, they may experience problems with dynamic classes such as these because when they look up methods on a class, they won’t find them.”
That’s the first thing that came to mind when I read his article and he brings up a great point. As scripting languages become more prevalent, IDE’s need to get more intelligent. And this kind of intelligence is not limited to PHP, but is also relevant to the world of RIAs and Web 2.0.
Take Flex for example: one of the great features of Flex is the ability to use web services. Just look at what yahoo did with it.
In the Flex world, you send off an asynchronous request and wait for a ResultEvent object that contains your data

When you attempt to get code hints on event.result (which contains the data from the web service), Flex Builder 2 is only smart enough to know that event.result is of type Object. While this is good support, i think we could still do better. In a perfect world, Flex Builder 2 would know all of the properties of your web service data and hint them.
For IDEs to really succeed in the Web 2.0 world, or even in the dynamic scripting world, they need to understand more than just languages. They need to understand everything that the language understands and for Flex, that means data.
i’m not promising anything here, but I could imagine Flex Builder 2 having intelligence like this in the near future…
About this entry
You’re currently reading “The new language intelligence,” an entry on Marking Occurrences
- Published:
- 02.28.06 / 7pm
- Category:
- Flex Builder Development, RIA Development


Comments are closed
Comments are currently closed on this entry.