Wake up and smell the AJAX

I keep reading about all the plugins that help with struts and other
components of what can be called now 'Web-1' or the classical web
application era.

As a person who's been doing entire AJAX applications and frameworks
since 2002 (before it had this stupid name) all I have to say is:
Wake up and smell the AJAX. It's a whole new world of application built
from the ground up on AJAX that look and feel like fat applications.

In order to be looking forward we should be seeing much stronger
JavaScript support (I know, Demetra will have some of that,
Inspection-JS provides some more) and a paradigm shift to rich web
applications and not adding yet one more way for doing things in the
already much over crowded J2EE application component arsenal.

An AJAX application that is not built on the outdated JSP/ASP/JSF
paradigm of page-based UIs is so much better after the initial
development learning curve you will not understand how you
looked/used/created those retarded applications in the first place.

Lastly, if you have a manager that is buzword compatible like mine was
at my last job, AJAX is for that person - now the cool paradigm has a
name so that you can do it and still be MAC (Manager Acronym Compatible).

Good Luck,
Amnon

15 comments

Amnon I. Govrin wrote:

In order to be looking forward we should be seeing much stronger
JavaScript support


Yet another little bird suggests to check out new EAP build (of IDEA 5.1).

--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Maxim Mossienko (JetBrains) wrote:

Yet another little bird suggests to check out new EAP build (of IDEA 5.1).


OK, I see cross-file renaming of variables and functions - cool!
Goto declaration and find usages work too. Awesome!

That still doesn't help me with JavaScript OO code (classes and class
members), but it's a great enhancement.

In addition, how about goto symbol or goto class working for JavaScript
classes and symbols too?

Thanks for these enhancements and looking forward for more such
surprises :)

Thanks,
Amnon

0

Amnon I. Govrin wrote:

That still doesn't help me with JavaScript OO code (classes and class
members)

What you mean with JavaScript OO code? Using OO syntax Netscape syntax?
The will be support for code like following:
function AjaxRequest(url) {
/**
Return the instance of the XMLHttpRequest object wrapped by
this object.
@return XMLHttpRequest
*/
this.getXMLHttpRequestObject = function() {
return xmlHttp;
}
}


In addition, how about goto symbol or goto class working for JavaScript
classes and symbols too?


Goto symbol will work.

--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Here's an example for a JavaScript class:

function MyClass() {
// Constructor
}

_p = MyClass.prototype;

_p.foo = function() {
// Member function
}

Usage example:
var mc = new MyClass;
mc.foo();

0

IDEA will navigate / suggest completion of 'foo', but particular class
type for mc is not taken into account yet.

Amnon I. Govrin wrote:

Here's an example for a JavaScript class:

function MyClass() {
// Constructor
}

_p = MyClass.prototype;

_p.foo = function() {
// Member function
}

Usage example:
var mc = new MyClass;
mc.foo();



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

wake up and come to backbase ;)
oh well, shameless...
-m.j.m

0

Maxim Mossienko (JetBrains) wrote:

IDEA will navigate / suggest completion of 'foo', but particular class
type for mc is not taken into account yet.


Will as in the future, right? I tried to make IDEA complete the foo()
call or go to the declaration but it didn't work.

I might have misunderstood what you meant.

Thanks,

Amnon

0

In new EAP build (of IDEA 5.1)

Amnon I. Govrin wrote:

Maxim Mossienko (JetBrains) wrote:

>> IDEA will navigate / suggest completion of 'foo', but particular class
>> type for mc is not taken into account yet.


Will as in the future, right? I tried to make IDEA complete the foo()
call or go to the declaration but it didn't work.

I might have misunderstood what you meant.

Thanks,

Amnon



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Maxim Mossienko (JetBrains) wrote:

In new EAP build (of IDEA 5.1)


By now you should know that I always use the latest build... :)

Amnon

0

I meant the build that become available today.

0

Maxim Mossienko wrote:

I meant the build that become available today.

Well, I just tried it (I know, it took me a lot of time, but I have an
excuse - my wife gave birth to a beautiful baby boy last Tuesday and I
spent the last 5 days helping her).

I get a lot of duplicates on my real project in the popup after pressing
the '.' key (i.e. symbols appear many times instead of just once).

Trying to use Ctrl+B revealed why - a method was overloaded and IJ had a
hard time to figure out which one is relevant.

In any case, I think that duplicated completion popup entries should be
removed, as they serve no purpose, at least not at this point.

Don't get me wrong, this is simply awesome!

Amnon

0

Just wanted to say congratulations to you and your wife on the new addition to your family. Great news!!

Best wishes,
Rob :)

0

In any case, I think that duplicated completion popup
entries should be
removed, as they serve no purpose, at least not at
this point.


See the discussion at http://www.jetbrains.net/jira/browse/IDEA-6293

And congratulations to the family upgrade ;)

Sascha

0

Best congratulations to your family!

Amnon I. Govrin wrote:

Maxim Mossienko wrote:

>> I meant the build that become available today.


Well, I just tried it (I know, it took me a lot of time, but I have an
excuse - my wife gave birth to a beautiful baby boy last Tuesday and I
spent the last 5 days helping her).

I get a lot of duplicates on my real project in the popup after pressing
the '.' key (i.e. symbols appear many times instead of just once).

Trying to use Ctrl+B revealed why - a method was overloaded and IJ had a
hard time to figure out which one is relevant.

In any case, I think that duplicated completion popup entries should be
removed, as they serve no purpose, at least not at this point.


http://www.jetbrains.net/jira/browse/IDEADEV-3973
Fixed.

--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Hello Amnon,

Congratulations!

-


Maxim Shafirov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Please sign in to leave a comment.