PDA

View Full Version : Question from a very beginner



kabkab
19 Nov 2011, 8:06 AM
Hi,
I start to work with ext JS with a new project. The idea is to have interactions with database and php.
My very first question is how to start? Sorry for this "stupid" question..
In fact, my idea is to have a page with a menu in the head and a dynamic space in the rest of the page.
The dynamic space can be filled with different grids. I think I understood how to work with grids but my "first" problem if to have the "layout" with the menu and the dynamic space. I'm very confused with layouts, containers...
Can you please ride me to a tutorial where I can start?

Thanks

skirtle
19 Nov 2011, 9:41 AM
Take a look at the demos:

http://dev.sencha.com/deploy/ext-4.0.7-gpl/examples/

Especially take a look at the layout manager demos.

In many cases the starting point is a viewport component, which will fill the width and height of the browser. You would then fill it with components. From your description you'd probably want to use either a vbox or a border layout on your viewport to give you a region at the top.

el_chief
19 Nov 2011, 10:13 AM
I would also recommend download Designer and the excellent User's Guide

http://cdn.sencha.io/ext-designer/ext-designer-for-ext-js-4-users-guide.pdf

T (http://cdn.sencha.io/ext-designer/ext-designer-for-ext-js-4-users-guide.pdf)hat way you can practice with all of the layouts

kabkab
20 Nov 2011, 4:03 AM
Hi,
Thank you for your answers. I'll try to begin.