Browsing All posts tagged under »Formo«

Kohana, Formo and many-to-many relations (“habtm”)

September 18, 2009

0

Just got the solution for how to handle many-to-many relations in Formo. Thank you, Ben! Three tables, groups (id, name), users (id, name) and the pivot table groups_users(group_id, user_id). And here’s how to in the controller handle display of an user form, complete with checkbuttons for toggling connections to groups: This gives the following form.… [Read more…]

Kohana PHP with ORM and Formo – db made easy!

September 17, 2009

1

After some days prototyping with Kohana, I start to realize the strength and beauty! One of the every-day needs in my world is to coordinate different database tables to get things to work. Most of the time this is done by hand, using PhpMyAdmin. For basic stuff, this works fine, but very often there’s the… [Read more…]

Follow

Get every new post delivered to your Inbox.