augustoamaral Posted March 31, 2008 Share Posted March 31, 2008 I'm creating a software web based, with some friends. And i want to know if i can make the hole program in just one page, with ajax and the database. So it will load just once. The login and everything, and using divs to arrange the layout and css, depending of the login. If was a administrator, for example, it loads some components, a lower class, other stuff, etc. If its possible, what I have to do? To call the diferents divs, and hide, for each different login.I know html, css, few php, and javascript. I`m learning python. well. Sorry for the mistakes, my english isn't that good.Thanks. Link to comment Share on other sites More sharing options...
boen_robot Posted March 31, 2008 Share Posted March 31, 2008 Well, if you know all of things, you already know how to do it then. Just be sure to use the XMLHttpRequest() object, and to be more precise - react on the onreadystatechange event. Link to comment Share on other sites More sharing options...
augustoamaral Posted March 31, 2008 Author Share Posted March 31, 2008 Well, if you know all of things, you already know how to do it then. Just be sure to use the XMLHttpRequest() object, and to be more precise - react on the onreadystatechange event.Hmm. I just need to know if was possible, and what should i focus on. You`ve said what i want to. Thanks. Link to comment Share on other sites More sharing options...
justsomeguy Posted March 31, 2008 Share Posted March 31, 2008 If you're working on a web application and you want a framework that you can use to handle most of the interface tasks, you might want to look into ExtJS. It's a lot more complicated then "normal" web programming, but it's very powerful. Here are the examples:http://extjs.com/deploy/dev/examples/ Link to comment Share on other sites More sharing options...
aszxcv Posted March 31, 2008 Share Posted March 31, 2008 is ExtJS more complicated then programming php?sorry for newbie question Link to comment Share on other sites More sharing options...
justsomeguy Posted March 31, 2008 Share Posted March 31, 2008 I find it more complex than PHP. PHP is a pretty straightfoward language, Ext gets pretty complex with things like event handlers and layouts and data stores and stuff that doesn't even apply to PHP. But, Ext is one of those things that is equally powerful and complex. Link to comment Share on other sites More sharing options...
aszxcv Posted March 31, 2008 Share Posted March 31, 2008 thanks for info Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.