just curious: anyone familiair with jQuery Form

http://jquery.malsup.com/form/


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Interesting, I hadn’t come across this, thanks.

Joe

On 1 Apr 2010, at 09:56, atelier wrote:

jQuery Form Plugin


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

This functionality is built into Prototype as well. Look at the
Form.request() method for more details.

http://prototypejs.org/api/form/request

Walter

On Apr 1, 2010, at 9:14 AM, Joe Billings wrote:

Interesting, I hadn’t come across this, thanks.

Joe

On 1 Apr 2010, at 09:56, atelier wrote:

jQuery Form Plugin


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Do you have a reason to choose Prototype, Walt? Or is it a matter of ‘habit’ prevailing one framework over the other? ( I have understood that it’s not good to use jQuery and Prototype on the same page)


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Unless Softpress changes rowboats in the middle of the stream and
rewrites everything to use jQuery, then it’s a hard fit with the rest
of the Actions already written for Freeway. As an Action author, I
don’t like to have to remind people over and over, “Don’t use the
built-in Actions with this, or Bad Things will happen…” And there
are quite a few of us who can’t remember which Actions we installed
and which ones came with the application. After as many years as I
have been using Freeway, I still have trouble with that. I’ll
recommend an Action and people will say, “Whaaa?” That’s part of the
reason I built ActionsForge.

Now as to personal choice, I have used both libraries, and find them
good for different purposes. For my work, which leans very heavily
into the ultra-custom end of the business, there are design choices in
the jQuery library that make it much harder for me to do things that
don’t fit into the neat boxes of plug-ins.

For example, the jQuery plug-in for forms will do forms in a
particular manner. If I want to change that behavior, I have to find
another plug-in or hack the source and try to get it to do something
different. In Prototype, there is a single method that only handles
“hijacking” the form. Callback functions passed to that method are
responsible for what to do when there are errors or when the form
submission is successful. I might not want anything to happen to the
page, I might want the form area to “seal over” and remove the form
after a successful submission, I might have a dozen other great ideas.
What I couldn’t do with jQuery is make those myself, not without re-
creating the plug-in.

Walter

On Apr 1, 2010, at 10:33 AM, atelier wrote:

Do you have a reason to choose Prototype, Walt? Or is it a matter of
‘habit’ prevailing one framework over the other? ( I have understood
that it’s not good to use jQuery and Prototype on the same page)


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks as always Walter. Reason why I ask is that ExpressionEngine has ‘build in support for jQuery’ as EllisLab puts it. So, chances are that I stumble upon some functionality, and might want to use it. But, since most (?) Actions work on output (to HTML) maybe I should not bother too much?

And thanks to the link to Prototype API Documentation | Form.request (Deprecated URL)


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I wouldn’t worry too much. I haven’t found much that you can’t duplicate between the two libraries. Especially once you throw Scriptaculous into the mix, and get all the visual and structural effects happening, you have a very complete set of tools to work with. I would be very surprised if there wasn’t prototype support in EE already, since it’s there in the core library that EE is built upon (CodeIgniter).

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks.
Usefull knowledge for Softpress as well, since their site runs on EE …or is this too impertinent…? :slight_smile:


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options