Hardik: Maybe this can help:
Im currently using PHP using MCV (Model Control View) Methology, Model is about libraries and classes like the business rules of your application, Control has to do with the como control sentences you must use like IF, WHILE,FOREACH, ... , and View is the look and file of the app , HTML, IMAGES, ... Have a look on smarty http://smarty.php.net , and there you can learn how to use HTML and PHP And about the databse tier .. I use a class named data_base .. with attributes like: -dbtype -dbhost -dbuser -dbpassword and the instances of the class can handle many databases .. and guarantee the portability .. I hope this helps. Regards. Daniel. -----Mensaje original----- De: Hardik Doshi [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 07 de febrero de 2003 10:24 Para: [EMAIL PROTECTED] Asunto: [PHP] 3 tier web development Hi Everyone, I am curious to know how one can develop 3-tier web based applications using PHP, MySQL. Here Database should be changed in future using database abstraction layer. Can anybody tell me in detail that how can i build 3 tier flexible web application? More questions on this thread: 1. How one can seperate HTML and PHP (or any other programming code). Is there anything in PHP so i can seperate Interface layer and programming logic layer? 2. I know that we can use Database abstraction layer so in future it is really easy to change database as per need. Can any one tell me which database abstraction layer is the best for future applications. 3. There is lots of talk about CMS today. Does anyone know about PHP based CMS (PHP-Nuke?? i dont know)? Currently i am making 2 tier systems (HTML+PHP, Database) I want to switch my applications to 3 tier (HTML, php and database). Please give me enough guidance. thanks Hardik __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php