Example for Complete CRUD application

cklee75's Avatar

cklee75

28 May, 2011 12:32 AM

Hi,

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.

If someone has created, please share the link here.

Thanks.

  1. 1 Posted by Paul Robertson on 28 May, 2011 03:46 AM

    Paul Robertson's Avatar

    Joel Hooks wrote this example (with a little help from me =). It is an
    "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.

    https://github.com/joelhooks/robotlegs-examples-AddressBook

    I later used the example for a workshop I taught on Robotlegs and made a
    few changes (just stylistic, nothing significantly different):

    https://github.com/probertson/robotlegs-examples-AddressBook

    Paul

  2. Stray closed this discussion on 10 Jun, 2011 03:52 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac