PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Fri Nov 16, 2018 9:56 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Your own CMS?
PostPosted: Wed Jan 07, 2009 2:25 pm 
Offline
Forum Regular
User avatar

Joined: Wed Jan 16, 2008 10:04 am
Posts: 633
Location: Myrtle Beach, South Carolina, USA
pytrin wrote:
If you are using jQuery, it normalizes the event for cross browser usage. - http://docs.jquery.com/Events_(Guide)


Man, one more reason why I love jQuery. Thanks for sharing that!

Have you ever read the source for jQuery? It's the coolest 55K that man has ever created. And I love how downloading it is no bigger than, say, a 5in x 8in JPEG image.


Top
 Profile  
 
 Post subject: Re: Your own CMS?
PostPosted: Wed Jan 07, 2009 3:13 pm 
Offline
DevNet Master
User avatar

Joined: Fri Jan 18, 2008 1:36 am
Posts: 3549
Location: Israel, ME
I read it all the time :)
Still can't completely understand every design decision there, but I pickup some new insight every time. It's an awesome library


Top
 Profile  
 
 Post subject: Re: Your own CMS?
PostPosted: Wed Jan 07, 2009 4:44 pm 
Offline
Forum Regular
User avatar

Joined: Tue Jul 15, 2008 10:50 pm
Posts: 738
Location: Carolina, USA
I still have had too many issues with AJAX to rely on it for a CMS. To me, the CMS should be built well enough that the page load time should not be an issue. JavaScript does add niceties, and it may work well with something like JQuery, but the CPU usage is still more, and if the Internet cuts out, or if the browser glitches, saving or re-sending data is a hassle. Form validation... I can definitely see using JS. But too much Javascript I just find too unreliable.

My CMS relies on a web browser. Even if the CSS is kind of messed up on older browsers, it's still functional, because no matter how it looks, the boxes appear and work.

Maybe it's just because of performance, but I don't like AJAX, and I don't think it has much of a place in a CMS, although I may use some basic JS for menus later on, and I may use AJAX for form validation of some sort. I HATE the kind of JS that Facebook uses.

Also, I only do this part time, so I don't really have the time to write both an AJAX version and a non-AJAX version that does the same thing.


Top
 Profile  
 
 Post subject: Re: Your own CMS?
PostPosted: Wed Jan 07, 2009 5:10 pm 
Offline
DevNet Master
User avatar

Joined: Fri Jan 18, 2008 1:36 am
Posts: 3549
Location: Israel, ME
I would definitely start with a non-ajax version. You can always upgrade it later using unobtrusive javascript, improving user experience for javascript enabled browsers but not braking functionality for the rest.


Top
 Profile  
 
 Post subject: Re: Your own CMS?
PostPosted: Wed Jan 07, 2009 6:02 pm 
Offline
Forum Contributor
User avatar

Joined: Sun Sep 14, 2008 7:59 pm
Posts: 327
As a general rule, I try not to use JavaScript until everything works perfectly with it disabled.


Top
 Profile  
 
 Post subject: Re: Your own CMS?
PostPosted: Wed Jan 07, 2009 6:17 pm 
Offline
Forum Regular
User avatar

Joined: Tue Jul 15, 2008 10:50 pm
Posts: 738
Location: Carolina, USA
Syntac, I think that is by far the most sensible approach!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group