Removed Areas > PHP
PHP Desinging
arunpawar:
Thanks for the replies.
Let me make things clear by stating my requirement:
1.As per ur observations,my host space is baout to increase that means if i opt for shared host later i may face trubles with PHP.Then is it possible to switch to dedicated server.maybe that depends on host?
2.I know bit of PHP but nt in depth as i have servlet,jsp and EJB background but i can't afford to use them in this project as i m giving this project back to college.so PHP is the only easiest opensource option.i got the books mentioned aove from library,is there any suggestion on premade-CMS code that i can use with this project?
3.I don't know how to install CakePHP and zend with XAMPP know any place for it?I'm planing to use either of them cause this will help even if this porject size gets increase.
pleas let me know ur views.
crono:
Hi,
1) Switching hosts shouldn't be a problem, as long as you have access to your files. Just backup locally and re-upload it to you new host - this shouldn't affect your php code at all (except for some DB credentials)
2) PHP has a lot of great cms. Which suites your needs best you have to evaluate by yourself. Here the usual suspects:
Disclaimer: I wrote my diploma about a project around typo3, but I tested all the cms on the beforehand.
* Typo3 (www.typo3.org) T3 is not easy to start with, but when you get the concepts behind it, it is most likely the most sophisticated open source cms. It is huge in Europe.
* Drupal (www.drupal.org) is aimed on the more "Web 2.0"-ish projects (like Blogs or communities). It is particularly large in the US, and would be my pick if i have to do some "social site"
* Joomla (www.joomla.org) - the cms formally know as Mambo - is a multi purpose CMS - aimed at medium sized websites. I personally didn't liked the handling.
If you have a Java background you should consider looking at Ruby (on Rails) - cake is heavily inspired by rails - or some Python webframework like Django or Zope - because they are more OOP than PHP5, which should help you to make the transition from Java (they are also open source).
3) You could place the files where you want, as long as you make sure to include the path to your php-include-path. The include path is a list of directories where the PHP interpreter looks for files. My typically Zend Setup looks like this:
--- ---localhost/
www/ <-- this is the place where the public accessible php, html, js and css files reside - it's the document root
app/ <-- there goes my custom phpcode - it's outside of the document root because of security issues
lib/
zend/ <-- I put the complete framework here
than I set the include-path in my index.php file (lies in www) with
--- Code: PHP ---ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR . '../lib');you could also set this setting directly in the php.ini file (which is a better solution on the performance side) but you often haven't write access to this file on shaded hosts.
for Cake I couldn't tell you, because I haven't done a "real world" project with it.
mahesh2k:
I've simmilar situation.i'm also looking for the website using PHP but i want to design article publishing site for the computer
institute i was in.They want to put the excercise and code answers for the student to get from site.In that case i have no idea
how to create database for MySQL (I know typical database and table creation) cause i don't understand the layout in this
case,and how to retrive such layout with PHP.
i want database to have :
*post title
* article summary
*article paragraphs (May contain images/text/code)
* also want to put syntax highlight feature for code that i want to enterin article content.
How can i create MySQL databse for it,so that PHP can retrieve the information and displayes in the same order.I'm using
XAMPP 1.6.3.a for this practice.
Do u have any pointers for this?
If CakePHP or Zend suitable for this project? is it possible to upload the content from my XAMPP folder to web server? do i
have to change any code while doing that? or do i have to make PHP installer to check database name and server name?
Please let me know how these things work.
arunpawar:
hmmm...
i think u can go for cakephp or zend.this can be tricky a start but once u go thru that everything starts working and u spend ur time with ideas than coding :D
it happens with me... :-[
Navigation
[0] Message Index
[*] Previous page
Go to full version