View previous topic :: View next topic |
Author |
Message |
dootzky Smarty n00b
Joined: 29 Aug 2007 Posts: 3
|
Posted: Wed Aug 29, 2007 8:15 pm Post subject: best CRUD framework? |
|
|
hi guys!
i'm new to the forum, but I've been using smarty for over a year now, and i'm LOVING IT! definetly the BEST view model i've ever used, and i just can't stop using it. that's why i wanna ask you guys this:
- i'm a programmer, not a designer.
- i make my own CMS systems, with custom user auth, page templates etc.
- what i NEED is - a simple CRUD class or framwork.
to be more precise:
- i lose a lot of time copy/pasting classic DB control pages, like: control items, groups, users, news, etc etc.
and they all have, well, basically CRUD interface (Create Review Update Delete).
- so, bottom line - i need a class (or a framework? but smarty is a MUST!) which can provide me with quick-CRUD options.
how do u guys solve this annoying problem of copy/pasting your code?
do you use some quickForms or what? or some advanced CRUD method?
thanks for your time for reading this,
cheers, and keep using smarty!
dootzky |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Wed Aug 29, 2007 10:40 pm Post subject: |
|
|
I've heard good things about Propel, have a look at that? |
|
Back to top |
|
dootzky Smarty n00b
Joined: 29 Aug 2007 Posts: 3
|
Posted: Thu Aug 30, 2007 8:42 am Post subject: |
|
|
hi Mohrt!
yes, i've check it out, not what i was looking for
to tell you the truth, i've look over 22 php frameworks in less then 6 days, and i cannot find something small and quick, just for basic CRUD operations, so - i think i will have to make my own class for CRUD
i can see that you are experienced and that you've been here for a long time (on the forum, by number of posts) - so tell me - when you are making your own custom CMS -> how do you handle your basic CRUDs for databases?
say you have db tables for blog system, like:
groups (categories)
posts
comments
comment control and approval
news
events
-> how would you make your group/post control? from zero?
I don't think so
So - I made over 30+ from-zero-to-full CMS systems, on my own, and i did everything on foot, and it's slow and painfull. now i must use SOME smarter system, that's why i'm asking, whoever, i would like to avoid complete framework solutions, with their user auth and such stuff, like Cake etc.
any thoughts? |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Thu Aug 30, 2007 1:34 pm Post subject: |
|
|
I usually build them myself. There are a lot of fully-equipped frameworks such as Symfony and Cake that have this stuff built in. |
|
Back to top |
|
dootzky Smarty n00b
Joined: 29 Aug 2007 Posts: 3
|
Posted: Fri Aug 31, 2007 7:17 am Post subject: |
|
|
yeah well... i usually build them myself also.. but - i wanted to speed things up a bit.
and i did it! i've made my own "Form" class, with subClass "Field", and it now generates codes for me
but it's sad, i had to make this class from zero up, insted of having a complete solution from 'somewhere'. maybe i'll contribute it, when i add some documentation and stuff. cheers, thx 4 replies. |
|
Back to top |
|
jake67890 Smarty Rookie
Joined: 19 Apr 2004 Posts: 5
|
Posted: Mon Oct 22, 2007 8:17 am Post subject: Phreeze |
|
|
You might have a look at Phreeze http://www.phreeze.com/
Phreeze includes an ORM that handles the CRUD stuff and an MVC. But you can just use the ORM if you like without the MVC parts. I've just published it as open source last week, but it has been used internally here for several years.
Your data access looks something like this:
Code: |
$post = $phreezer->Get("Post",$id);
$post->Title = "This post is great!";
$phreezer->Save($post);
|
It also detects relationships so you can do something like this too:
Code: |
foreach ($post->GetComments() as $comment)
{
echo "<div>Comment: " . $comment->Body . "</div>";
echo "<div>Author: " . $comment->GetAuthor()->Username . "</div>";
}
|
The site, forum, repo and all are very new, but we are putting a lot of energy into the framework and support, so you're questions will get answered. |
|
Back to top |
|
webharan Smarty Rookie
Joined: 08 Jan 2008 Posts: 5
|
Posted: Fri Jan 25, 2008 7:32 pm Post subject: any news on ... |
|
|
Hi,
Any guys who knows of a framework that is fast to develop and that uses
- Smarty
- PEAR
- MVC architecture
and one class file which will serve as an engine to parse through the pages and replace variables with relevant content making the site design much easier??
- Suthaharan |
|
Back to top |
|
step Smarty n00b
Joined: 25 Feb 2008 Posts: 1
|
Posted: Mon Feb 25, 2008 1:03 pm Post subject: up |
|
|
i don't know any,help to up. |
|
Back to top |
|
indy80s Smarty n00b
Joined: 07 Feb 2009 Posts: 3
|
Posted: Sat Feb 07, 2009 7:27 pm Post subject: |
|
|
Symfony is good solution - search Admin Generator, but without a checked code (somebody's - not only from documentation) you are far away (much time to have working code). You can use it only for backend app. All in all it's good. <-framework
MySQL TableEditor (at phpguru org). My first piece of code I have found. I didn't used but seems good. Eeasier then the former. <-one class or php file (I dont remember)
You can find there a comparison of such things.
A modified phpmyadmin would be an advantage. It should have config files and some kind of hooks. |
|
Back to top |
|
hdkeeper Smarty Rookie
Joined: 20 Nov 2008 Posts: 13
|
Posted: Tue Jun 16, 2009 7:42 pm Post subject: |
|
|
For CRUD, I like to use active_record from Limb3 framework. It was inspired by Ruby on Rails, it seems. Database introspection rocks!
See http://limb-project.com/en/ |
|
Back to top |
|
skylar Smarty n00b
Joined: 08 Nov 2009 Posts: 2
|
Posted: Sun Nov 08, 2009 6:07 pm Post subject: |
|
|
you tried Zend Frame work? |
|
Back to top |
|
silvia.cravcenco Smarty n00b
Joined: 03 May 2012 Posts: 1
|
Posted: Thu May 03, 2012 5:55 pm Post subject: Crudin |
|
|
Hi,
I use Crudin
Crudin is a PHP framework that reads a MySQL database and generates in real time a complete CRUD plataform
No line of programming are needed,
my opnion is that Crudin is the best CRUD (or custom CMS system)
Visit the oficial website: http://crudin.smarc.com.br/en/index.html |
|
Back to top |
|
|