tag:robotlegs.tenderapp.com,2009-10-18:/discussions/suggestions/61-example-for-complete-crud-applicationRobotlegs: Discussion 2018-10-18T16:35:28Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/75070832011-05-28T00:32:18Z2011-05-28T00:33:46ZExample for Complete CRUD application<div><p>Hi,</p>
<p>I would like to suggest could any can create a complete CRUD
application. Most new libraries/frameworks (not only Java, but
.NET, Rails, Grails etc) will recreate Pet Store/PetClinic example
to show the stability, extensibility, maintainability and
possibility to use in production (presentation, business,
persistence layers etc). I understand Robotlegs is more focus on
just presentation layer but it may still couple with business layer
more or less. E.g. only enable certain features for different kind
of users (adminstrator, moderator, normal user, guest etc). Should
we tight the view mediator with user model so it can decide what
(buttons, links) should be visible or have multiple set of views
for different type of users then inject to context? The former
requires less code but couples view mediator with model, the latter
seems like may overkill and bring down productivity. This
application example sure will shorten the learning curve and
promote best coding design practices.</p>
<p>If someone has created, please share the link here.</p>
<p>Thanks.</p></div>cklee75tag:robotlegs.tenderapp.com,2009-10-18:Comment/75070832011-05-28T03:46:27Z2011-05-28T03:46:27ZExample for Complete CRUD application<div><p>Joel Hooks wrote this example (with a little help from me =). It
is an<br>
"Address Book" that uses the AIR SQLite database as a backend. You
can read the list of contacts, insert new ones, update them, and
delete them.</p>
<p><a href=
"https://github.com/joelhooks/robotlegs-examples-AddressBook">https://github.com/joelhooks/robotlegs-examples-AddressBook</a></p>
<p>I later used the example for a workshop I taught on Robotlegs
and made a<br>
few changes (just stylistic, nothing significantly different):</p>
<p><a href=
"https://github.com/probertson/robotlegs-examples-AddressBook">https://github.com/probertson/robotlegs-examples-AddressBook</a></p>
<p>Paul</p></div>Paul Robertson