Welcome Guest, Not a member yet? Register   Sign In
Library to present table-based data from SQL query
#6

[eluser]tazoony[/eluser]
[quote author="jhob" date="1385583962"]Thanks for that Joffrey, I'll check it out when it's ready.

Got to say I'm pretty damn impressed with GroceryCrud. It's very complete, easy to use and nicely configurable.[/quote]

GroceryCrud is very complete, I was impressed too ! But I strongly need a fully compatible CRUD library with Datamapper. That's why I'm working on it.

I just merged GroceryCrud and DMZ_HtmlForm, on what I added some miscellaneous ideas Big Grin
It seems working. I need to test and improve some things again.

For example, here the code I put in my controller method :
Code:
$this->htmlcrud_manage('member', array('id','email_md5','firstname','lastname','zipcode','birthdate'));
As you can guess, parameters are :
- Datamapper class name to use
- Fields that you want to see in the table

Everything else is automatically set up with Datamapper validation information :-)

I also developed another Datamapper extension that is named "DataStructure". Its goal is to import Mysql database structure information into Datamapper object's validation array. It seems working...I'll share it when it will be ready.


Messages In This Thread
Library to present table-based data from SQL query - by El Forum - 11-27-2013, 04:51 AM
Library to present table-based data from SQL query - by El Forum - 11-27-2013, 05:27 AM
Library to present table-based data from SQL query - by El Forum - 11-27-2013, 08:55 AM
Library to present table-based data from SQL query - by El Forum - 11-27-2013, 09:15 AM
Library to present table-based data from SQL query - by El Forum - 11-27-2013, 01:26 PM
Library to present table-based data from SQL query - by El Forum - 11-27-2013, 05:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB