Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

best CRUD framework?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Frameworks
View previous topic :: View next topic  
Author Message
dootzky
Smarty n00b


Joined: 29 Aug 2007
Posts: 3

PostPosted: Wed Aug 29, 2007 8:15 pm    Post subject: best CRUD framework? Reply with quote

hi guys! Smile

i'm new to the forum, but I've been using smarty for over a year now, and i'm LOVING IT! Very Happy 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? Smile

thanks for your time for reading this,
cheers, and keep using smarty! Very Happy
dootzky
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Wed Aug 29, 2007 10:40 pm    Post subject: Reply with quote

I've heard good things about Propel, have a look at that?
Back to top
View user's profile Send private message Visit poster's website
dootzky
Smarty n00b


Joined: 29 Aug 2007
Posts: 3

PostPosted: Thu Aug 30, 2007 8:42 am    Post subject: Reply with quote

hi Mohrt! Smile

yes, i've check it out, not what i was looking for Sad
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 Smile

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 Smile

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. Razz 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
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Thu Aug 30, 2007 1:34 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
dootzky
Smarty n00b


Joined: 29 Aug 2007
Posts: 3

PostPosted: Fri Aug 31, 2007 7:17 am    Post subject: Reply with quote

yeah well... i usually build them myself also.. but - i wanted to speed things up a bit. Razz

and i did it! Very Happy i've made my own "Form" class, with subClass "Field", and it now generates codes for me Smile

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
View user's profile Send private message
jake67890
Smarty Rookie


Joined: 19 Apr 2004
Posts: 5

PostPosted: Mon Oct 22, 2007 8:17 am    Post subject: Phreeze Reply with quote

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
View user's profile Send private message
webharan
Smarty Rookie


Joined: 08 Jan 2008
Posts: 5

PostPosted: Fri Jan 25, 2008 7:32 pm    Post subject: any news on ... Reply with quote

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
View user's profile Send private message
step
Smarty n00b


Joined: 25 Feb 2008
Posts: 1

PostPosted: Mon Feb 25, 2008 1:03 pm    Post subject: up Reply with quote

i don't know any,help to up.
Back to top
View user's profile Send private message
indy80s
Smarty n00b


Joined: 07 Feb 2009
Posts: 3

PostPosted: Sat Feb 07, 2009 7:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
hdkeeper
Smarty Rookie


Joined: 20 Nov 2008
Posts: 13

PostPosted: Tue Jun 16, 2009 7:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
skylar
Smarty n00b


Joined: 08 Nov 2009
Posts: 2

PostPosted: Sun Nov 08, 2009 6:07 pm    Post subject: Reply with quote

you tried Zend Frame work?
Back to top
View user's profile Send private message
silvia.cravcenco
Smarty n00b


Joined: 03 May 2012
Posts: 1

PostPosted: Thu May 03, 2012 5:55 pm    Post subject: Crudin Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Frameworks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP