PDA

View Full Version : How to use dynamic content within my new layout?



rics
7 Mar 2007, 10:44 AM
Hello you all. I'm a PHP developer. Now I'm trying to learn javascript/yui/yui-ext so I can create good softwares for the web.

I could create the basic layout of my test project, but can't go any further. I have a nested layout with:

north
west
center
east
south

in the center area I got another north and south.

It's working perfectly!

But now, how can I put my content there? It comes from a database. The wanted behavior is:

In the west region we have a list of categories. When some is clicked, the list of items of that category opens in the center(north) place. When an item is clicked there it opens the details in the center(south) area. And finaly, one could click the details to put it in favorites list (at east area).

How can I put this behavior to work? What I must learn to make this happen without load all the page again and again. (I know, ajax, but how?)

Thanks!!! =)

tryanDLS
7 Mar 2007, 11:24 AM
There are numerous examples of this type of functionality, in this forum and the Examples forum, as well as some of the downloaded examples, which update content via a server page (PHP). I would suggest you spend some time reading/reviewing these examples, and then experiment with how to pull some of your own data via the samples.