15

I have been tasked with building a simple web based system for managing a list of vehicles.

I am interested to know whether there are any robust, clean PHP 5 frameworks / libraries that are specialized in doing this quickly.

They should be able to quickly build a skeleton web back-end to an arbitrary data structure with the basic functions:

  • Customizable list view
  • Customizable edit form
  • create/update/delete operations

Nice to haves:

  • Multi-user interface
  • ACL based rights system
  • Localization
  • Image / File upload built in

Wet dreams:

  • A skeleton CRUD API to manage items programmatically
  • A skeleton RSS feed to inform about new items

I am aware most big frameworks provide tools and helpers for this, but would prefer a standalone, light-weight solution that is easy to get into.

Alternatively, is there a great PHP application that you would recommend looking into to modify to suit my needs?

8
  • 2
    I'd recommend Symfony, but it's not exactly "lightweight". Aug 31, 2010 at 8:44
  • CodeIgniter is another alternative
    – jkilbride
    Aug 31, 2010 at 8:46
  • 1
    Have you ruled out some of tools given in the suitable stackoverflow.com/search?q=crud+frameworks+php questions already?
    – Gordon
    Aug 31, 2010 at 8:47
  • @Gordon what a charming way of telling me this is a tripli-quadruplicate :) :) I'll take a look, cheers. However, most references point to one of the big frameworks which is not what I'm looking for. I would prefer a standalone solution that focuses on generating a ready-made simple CRUD application without all the bells and whistles... But maybe using one of the Frameworks' functionality is the way to go here, most answers kind of look that way.
    – Pekka
    Aug 31, 2010 at 8:48
  • @Pekka I have looked only briefly at the questions. Some suggest frameworks like phpscaffold.com and other libs I've never heard of. I deliberately didnt closevote, because I have no clue if any of these would fit your bill. Personally, I find RAD tools to be deceivers, because the time you gain in the beginning you'll have to spent later to customize the created code.
    – Gordon
    Aug 31, 2010 at 9:00

8 Answers 8

10

As far as building skeleton apps goes, nothing comes close to the Yii framework.

From the site:

MVC, DAO/ActiveRecord, I18N/L10N, caching, jQuery-based AJAX support, authentication and role-based access control, scaffolding, input validation, widgets, events, theming, Web services, and so on. Written in strict OOP, Yii is easy to use and is extremely flexible and extensible.

It also includes CRUD code generation. Headed by the guy who did Prado.

1
  • +1 for Yii framework. It's amazing how fast you can build a simple crud application. One command and you have all CRUD features including filtering & sorting, authentication & ACL!
    – Bogdan
    Sep 15, 2010 at 10:16
4

If you don't want a big framework, you could check out phpactiverecord

0
2

I would recommend CakePHP

1

I've seen awesome demos of the instant blog in Rails and Django and Symfony.

Looking at Zend, Cake, Symfony, Symfony seems the most like Rails/Django. Check out the 10 minute (yeah, super sped up!) demo. It's pretty sweet:

http://www.symfony-project.org/screencast/cart

My experience tells me that there's no framework, lightweight or otherwise that you can easily do what you want quickly if you don't know it. So that's where the tutorials come in. You really need a nice ORM to avoid all that mess with the DB and or reinventing that with a CMS. So the best bet is to choose the one with the best docs, the best tutorial + screencast, in the language you know that gets you closest to your requirements by just changing the names of the variables. I know Django can do all that you're asking with Django 1.2, but with PHP 5 being the requirement, Symfony and it's ORM is my first suggestion.

Yii looks like something I'll be taking a look at right now! Yii-Haaw!

Here's Yii's screencast of blog making: http://www.yiiframework.com/screencast/blog/

Not bad so far! But it's quite a learning curve to get the blog working. Very similar to Rails.

1

The best i have seen around in years http://www.grocerycrud.com/ its for codeigniter

0

Sapphire has a lot of promise. I have used the CMS built on it - SilverStripe - for a few projects and it's very nice. But I haven't dug into the back-end too much.

From the website:

  • Our Object-Relational Mapper takes care of your data. Define your data model using our simple PHP5 syntax and our ORM does the rest.
  • Tell Sapphire about your data model, and you get 3 interfaces for free. A RESTful API, a SOAP API, and an admin editing interface.

It's not exactly lightweight, but its core is ~1.3 MB but meets a lot of your "nice to haves"

0

There are several PHP frameworks that meet your requirements (basic requirements). You should use a framework that you are most familiar. If you do not familiar with any framework, I suggest you to use the CodeIgniter.

0

I've been looking for a drop-in admin panel like this too, so far I've 2:

AjaxCrud - http://ajaxcrud.com/

Peek from Code Canyon - http://bit.ly/toKKrB

Love to hear any other suggestions!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.