Lets get started with the PRADO development.
First thing is the installation. Installation is not at all a problem. Just download the .zip file from the PRADO Website. Extract the contents into the DocumentRoot of your web server. We had a Ubuntu 8.10 system ready for it. It had already installed Apache, PHP, and MySQL. So, the development environment is ready for it.
Thats it...its done. As simple as that. Just launch the browser (Mozilla Firefox...the best browser) and type
http://localhost/prado/. The default page for PRADO framework opens. It gives you the overview to the framework, some initial requirements, installation details, included demos, ppl to thanks...they truly deserve it, and some other stuff...Now, to start up with it...the first thing was the demos. They have everything that you require for development. The only thing is one have to churn out the stuff he wants. Anyways, its not at all difficult.
It also includes a pdf for quick start. It includes the stuff to get you started with it. I had a long time with that pdf in the night. Its the best time for nocturnal creatures like us...he he he. Well, started off with the basic info and then to the first application for most languages...Hello World.
The steps are given very clearly in the quickstart.pdf. So, nothing is complicated. The amazing thing to me was, how less the code was written. Just execute the prado-cli.php to create the directory structure, change the stuff in Hello.page, to be precise, just one line for Hello World. And the application was up. Nothing at all...It was that simple.
Getting to work with php. Just add the stuff in the Home.php for appropriate Event and you are done. The tutorial includes a TTextBox...Prado's implementation for textboxes which changes its text onsubmit of the page. Just write the corresponding event in Home.php....and it was doing the stuff...
So, just the basic thing. Nothing complicated....got started with the framework. Hope the pace continues as we go along...
No comments:
Post a Comment