• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: A little bit of Ajax in a 5.3 app?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A little bit of Ajax in a 5.3 app?


  • Subject: Re: A little bit of Ajax in a 5.3 app?
  • From: Daniel Brajkovic <email@hidden>
  • Date: Tue, 26 Feb 2008 21:48:04 -0600

OK Mike, I've now spent 1/2 hour looking for documentation on how you added the "key" to your .java file in your video from the wod editor. I'm a newbie to Eclipse and for the life of me I can't find a command or keyboard shortcut that does that.

This question goes back to the thread about devtools. I have always tinkered with WO because it was so easy for a non-programmer like me. I am trying to learn WOLips and Eclipse. One way is by going step by step through the old Apple Docs and trying to repeat functionality in Eclipse. The autocompletion nearly replaces the ability to quickly bind objects to EO attributes. But my question above and your use of something that's so basic and also so undocumented (unless I am completely missing something) is probably one reason that non- programmers are attempting to hold on to the old tools.

You experienced WO/Java programmers should take it easy on the rest of us hobbyists (as we were called). And instead of lambasting us and telling us to "Just switch already," help us. I really like WO because I have been able to quickly build little databased web apps. I tried using Rails, and found that to be a disaster. The arrogant folks at 37Signals assumes that everyone who wants to make dynamic websites must be experienced programmers.

Unfortunately, since I upgraded to Leopard, I had no choice but to learn to use WOLips. But what so many of you "real programmers" take for granted, I haven't a clue. Lately, I have seen answers to questions like, "just look at the Javadocs" with no further explanation among the many very helpful posts. That sort of "What an idiot you must be when the answer is right in front of you" is completely ignorant of the fact that not everyone knows what to do with the documentation and that some of us, especially me, learn more by example, than by reading the JavaDocs.

Mike's video is clearly an example that using Eclipse/WOLips is fast, even faster than the old tools and for the first time I now see how I can use Ajax in my WebApp. What a great example. More please.


On Feb 26, 2008, at 2:32 PM, Mike Schrag wrote:

I made a quicky screencast of going from zero (where zero is defined as "I have WOLips and WO installed") to a super lame hello-world-ish Ajax.framework app. This is mostly because I wanted to play with ScreenFlow (which is one of the coolest apps ever made, btw). Caveats: This is completely unscripted, and just recorded straight through without any cuts, and to top it off, I didn't actually really PLAN what I was going do to beforehand, so the couple uncomfortable pauses are me trying to decide what I actually wanted to show -- nothing but the highest quality from Team Wonder :) . This does, however, show the new Add Key/Add Action in WOLips, whose dialogs will look awfully familiar to WOB folks.

http://webobjects.mdimension.com/wonder/screencasts/TinyAjaxApp.mov

On Feb 26, 2008, at 10:50 AM, Mike Schrag wrote:

Using Ajax framework should be relatively painless ...

1) Add Ajax, ERExtensions, and ERJars framework to your app
2) make your app extend ERXAjaxApplication
3) make your session extend ERXAjaxSession
4) if you want partial form submission, in your Application setContextClassName(ERXAjaxContext.class.getName());
5) profit


ms

On Feb 26, 2008, at 10:18 AM, Ken Anderson wrote:

Everyone,

I have a 5.3 app using stable WOLips that has hundreds of components and does not currently use Wonder. I have a few sub- components that have multiple dependent pop-ups, and I do a submit(); onChange on those pop-ups to refresh the page.

Unfortunately, the pages have gotten pretty big, and the constant refresh is getting tedious. I was wondering if anyone has a road- map where I can use a tiny bit of Ajax in a single sub-component to improve the user experience (it's a maintenance app...so User==Me). I don't have a ton of time, and can't really risk moving to 5.4 or reworking the entire app.

Any thoughts?

Thanks,
Ken

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: A little bit of Ajax in a 5.3 app?
      • From: Mike Schrag <email@hidden>
    • Re: A little bit of Ajax in a 5.3 app?
      • From: Mike Schrag <email@hidden>
References: 
 >A little bit of Ajax in a 5.3 app? (From: Ken Anderson <email@hidden>)
 >Re: A little bit of Ajax in a 5.3 app? (From: Mike Schrag <email@hidden>)
 >Re: A little bit of Ajax in a 5.3 app? (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: drawImage() really slow on Leopard
  • Next by Date: Re: A little bit of Ajax in a 5.3 app?
  • Previous by thread: Re: A little bit of Ajax in a 5.3 app?
  • Next by thread: Re: A little bit of Ajax in a 5.3 app?
  • Index(es):
    • Date
    • Thread