Yeah, you can use jquery to help you make ajax calls to your server,
but really, all of the database programming is done there.  you'd
still use php or python.  jquery just hlps you make things look good
from the client side.

On May 6, 1:58 am, FreakDev <[EMAIL PROTECTED]> wrote:
> jQuer is a javascript "framework" and not a all a "server side" langage...
>
>
>
> On Tue, May 6, 2008 at 2:57 AM, John <[EMAIL PROTECTED]> wrote:
>
> > I have the same question. I have over 20k rows of data in mysql, and
> > the idea is for there to be an update button beside each row. I don't
> > see any examples of how to interact with the database here -- in php
> > it's $sql = "..."; in ruby/rails it's Thing.new[...], but what's up
> > with jquery? I don't think an explanation would be voodoo - it'd be a
> > lifesaver. I already understand the old ways - school me on the
> > jquery.
> > Thanks
> > John
>
> > > This is a pretty big question. What you need to do is learn how to do
> > > it with regular HTTP interaction with the backend. Once you understand
> > > that you'll be able to adapt it to Ajax. A firm grounding in HTTP
> > > makes XHR pretty straightforward.
>
> > > Doing this right is not simple. You should probably read up on REST
> > > and understand which parts should GET and which parts should POST (or
> > > really even PUT/DELETE but that's often unused due to bad support and
> > > general lack of understanding).
>
> > > The take away point is that if you don't know how to do every part
> > > with regular forms and backend interaction already, doing it in Ajax
> > > will seem like insurmountable voodoo.
>
> --
> FreakDev
>
> www.FreakDev.com

Reply via email to