Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > good php framework?

good php framework?
Thread Tools
Fresh-Faced Recruit
Join Date: Dec 2008
Status: Offline
Reply With Quote
Dec 24, 2008, 08:15 PM
 
Hi,

I'd like to use a PHP framework that would simplify CRUD activities, such as account management, etc.

What I'm looking for is a PHP (connect to MySQL) framework that resides entirely in the php files. I don't want to need to do any installation or configuration to the web server itself. Since I'll probably be hosting on a shared host service, I won't have access to the operating system or php.ini file.

is CakePHP good, and does it meet my needs of not requiring changing the OS or php configurations?
how about symfony?

any other good frameworks that have a tiny footprint and are good ?

Thanks in advance for any advice.

-Ben
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Dec 24, 2008, 11:06 PM
 
Many shared hosting services that run PHP-CGI (as many do) allow you to use your own php.ini. I'm not sure what you are hoping to gain in trying to replace the PHP MySQL extension? At the end of the day you will still need to connect to the MySQL server no matter what sits between it and your output. Fortunately, the vast majority of hosting providers provide access to MySQL via PHP without you having to do anything.

There are many reasons to use a PHP framework, but so far you haven't given a reason why you need one. Therefore, it makes recommendations hard.
     
ben200  (op)
Fresh-Faced Recruit
Join Date: Dec 2008
Status: Offline
Reply With Quote
Dec 27, 2008, 08:26 AM
 
I guess I should elaborate...

I'm looking for a PHP framework that will not require any "installation" into the web server itself, since I'll be using a shared hosting environment. I'm looking for a PHP framework that resides entirely in the php files or mysql tables.

Any recommendations are appreciated.
     
Fresh-Faced Recruit
Join Date: Dec 2008
Location: Hong Kong
Status: Offline
Reply With Quote
Dec 27, 2008, 08:32 AM
 
In that case, Zend Framework is probably going to be the better choice for you, because it doesn't have any binary files involved. All you need to do is to upload Zend's files through FTP, and then start including modules that you would like to use into your PHP script.

Cake is good when you're familiar with Ruby on Rails, but it does require some configuration on the server side AFAIK. I've heard that CodeIgniter is the most easy to start with, you might want to take a look on it too. Wish you good luck.
de:RDF Journal | Raphael CHAN’s MostlyUseful² Weblog for OS X Enthusiasts:
http://rdf.nxstg.com/
     
Fresh-Faced Recruit
Join Date: Dec 2008
Status: Offline
Reply With Quote
Dec 27, 2008, 09:22 PM
 
ben,

You do know that php is installed on Leopard? You just need to enable it in httpd.conf
http://foundationphp.com/tutorials/php_leopard.php

The only think needed to install is MySQL
     
ben200  (op)
Fresh-Faced Recruit
Join Date: Dec 2008
Status: Offline
Reply With Quote
Dec 27, 2008, 10:31 PM
 
@afx5i,
Thanks for the recommendation. I'm going to download the package that you've suggested and will give it a try.

@jimd144,
Thanks for the comment. Yes, I've been using PHP on my machine for a while. I've just grown tired of some repetitive programming tasks things that a framework could simplify. For example, authenticating a user.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:51 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2