Sunday, 15 January 2012

jquery - Twitter Bootstrap Modals and CRUD -



jquery - Twitter Bootstrap Modals and CRUD -

so, i'm developing application in laravel, think question bit more general web application it's around usage of bootstrap , modal pages.

i'm interested in finding out how others have created crud functionality using packaged bootstrap modal.

the modal seems natural fit types of forms. issue comes around setup. trying create contact crud application.

for example, business relationship may have multiple contacts, while view business relationship page user able create or update contact using same form presented via modal.

using bootstrap bundle can load modal's body remote data, once. open contact 1 editing, close modal, , seek open contact 2 info contact 1 won't sec remote load.

this can solved plenty great info in post twitter bootstrap modal loads wrong remote data

while solution works well, seems i'm breaking framework , feels i'm using modal wasn't intended for. perhaps bootstrap modal isn't right ui element crud. so, how others approach this?

i have done this. way go utilize jquery ajax calls , test ajax requests in laravel application.

here nice tutorial on working ajax in laravel: http://codehappy.daylerees.com/ajax-content

to validate forms recommend parsley.js, works awesome bootstrap : http://parsleyjs.org/

also there great plugin written bootstrap ajax calls, check out how integrate in forum post here: http://forums.laravel.io/viewtopic.php?pid=27900

jquery html twitter-bootstrap laravel

No comments:

Post a Comment