Coder Profile - Show off your skills, get a coder profile.
 
 
 
  
Posted: 296 Days Ago 

FallingTears
United States
Contrib Level: 5
Total Posts: 208
Lately, my PHP skills have been growing and I'm realizing that my applications are becoming more secure and stable (at least, that's how it appears on my localhost) and I've decided to take it up a notch. I've decided to implement an AJAX framework. I have looked through various frameworks and, truthfully, had an issue on which I should choose. I didn't really know a lot about AJAX frameworks, however, now that I'm slightly more familiar with AJAX frameworks I'm thinking that I like the EXT framework the best.

I've tried jQuery, dojo, YUI (2 and 3), and a few others and haven't been totally impressed with them as much as I have been with the EXT framework. What do you guys think?
Posted: 294 Days Ago 

VBAssassin
United Kingdom
Contrib Level: 17
Total Posts: 5,709
The AJAX on this site is powered by Prototype.

Example of a very easy object to use: http://api.prototypejs.org/ajax/ajax/updater.html

Browse around the AJAX part of the documentation for a bit. The prototype & scriptaculous framework is also the one that frameworks like ruby on rails support   

I've had no problems with the frameworks (both prototype, and scriptaculous which extends prototype).

Here are other companies who use the prototype framework: http://prototypejs.org/real-world

Kind regards,
Scott
Posted: 294 Days Ago 

FallingTears
United States
Contrib Level: 5
Total Posts: 208
Wow, I didn't realize prototype had so much support. What really impressed me about EXT is the UI library that is included with it. However, it's not very easy to change the basic backbone to change the looks of those layouts (etc) .... you can extend them and make them look the same by writing your own JS files, but it just seems hard to browse through all of the different files in that framework to change what you need to in order to get what you want.

Plus, EXT seems to force applications to be written entirely in JavaScript .... which seems to be a downside to me.
Posted: 293 Days Ago 

VBAssassin
United Kingdom
Contrib Level: 17
Total Posts: 5,709
Give prototype and scriptaculous a go   

If you compress & gzip it, you get a very small footprint   

Kind regards,
Scott
Posted: 293 Days Ago 

FallingTears
United States
Contrib Level: 5
Total Posts: 208
Can't you get a compressed gzipped version of both of those scripts without having to do it yourself from their websites? Do you know a good website that gives tutorials for those ajax frameworks?
Posted: 292 Days Ago 

VBAssassin
United Kingdom
Contrib Level: 17
Total Posts: 5,709
Post Quote - Direct Reference
GZip compression is done by your server on the fly... i couldn't get gzip compression to work on the server for .js files... stupid htaccess files... so i changed the extension to .php and served JS code up in it... that way the PHP engine gzips it automatically   . Uses a little more memory to serve it that way, but much better to gzip it than not to.

As for tutorials... haven't looked. The two official sites offer VERY good documentation. I read a book on the two frameworks. Very good book and would recommend it to anyone wanting to learn those two frameworks: http://www.amazon.co.uk/Prototype-script-aculo-us-JavaScript-Pragmatic-Prog...

Kind regards,
Scott
Posted: 290 Days Ago 

FallingTears
United States
Contrib Level: 5
Total Posts: 208
Thanks for the tip, I'll have to check it out. I would like to write some of these ajax scripts myself so that I can understand the inner workings of why they write things the way they do ... or why they add certain things that I don't completely understand why it's added.

One thing I noticed about building websites using the .NET framework, some of the AJAX scripts used there are extremely interesting, but totally complex. I've noticed that Microsoft seems to add like 15 or 20 lines more than what they need ... seriously, it's horrible.
Page 1 of 1
 
 
Latest News About Coder Profile
Coder Profile Poll
If you made money from keeping your profile up to date, say $30 and up, per month. What extra time would you spend on your profile?

No extra time
A few hours at weekends
A whole day each week
Every minute i can get free


please login to cast your vote
and see the results of this poll
Latest Coder Profile Changes
Coder Profile was last updated
1.67 Year Ago
Official Blog :: Make A Donation :: Credits :: Contact Me
Terms & Conditions :: Privacy Policy :: Documents :: Wallpapers
Version 1.46.00
Copyright © 2007 - 2010, Scott Thompson, All Rights Reserved