I’m learning rails, buidling my first app and got stucked with one
problem.
I have some client model with institution select list. (Client
belongs_to institution). Since I’m comming from desktop app world, I
would like to build function for user to add new institution and refresh
combo during client edit with ajax. With asp.net i’d use update panel.
Here… really don’t know. Please help
I’m learning rails, buidling my first app and got stucked with one
problem.
I have some client model with institution select list. (Client
belongs_to institution). Since I’m comming from desktop app world, I
would like to build function for user to add new institution and refresh
combo during client edit with ajax. With asp.net i’d use update panel.
Here… really don’t know. Please help
If this is your first app I would suggest initially not using ajax
until you have got the rest of it working. Where you might want to
use ajax just update the whole page. However, if you really want to
jump in at the deep end, do you understand the basics of Ajax? If not
I suggest finding some tutorials and working through them, then work
out how to apply it to your particular problem.
I agree with Marnen, though, the paradigms used for the UI on desktop
apps are not necessarily the best ones to use for a web app.
I’m learning rails, buidling my first app and got stucked with one
problem.
I have some client model with institution select list. (Client
belongs_to institution). Since I’m comming from desktop app world,
[…]
That’s sort of a bad reason to do something. Web apps generally
shouldn’t work exactly like desktop apps. The Web medium is different
from the desktop medium, both technically and in the UI idioms that have
been established.
I’m learning rails, buidling my first app and got stucked with one
problem.
I have some client model with institution select list. (Client
belongs_to institution). Since I’m comming from desktop app world, I
would like to build function for user to add new institution and refresh
combo during client edit with ajax. With asp.net i’d use update panel.
Here… really don’t know. Please help
If this is your first app I would suggest initially not using ajax
until you have got the rest of it working.
Agreed there too. IMHO no one should develop Ajax apps without having
done non-Ajax Web development first – it’s too easy to become
overreliant on JavaScript.