Re: Ponder docs or examples
Re: Ponder docs or examples
- Subject: Re: Ponder docs or examples
- From: Ramsey Gurley <email@hidden>
- Date: Mon, 24 Feb 2014 17:48:08 -0700
Hi Nilton,
The presentation I gave at last year's WOWODC was on ponder, but I basically just detailed what features were available in the frameworks. I haven't done any sort of walk through or documentation on it beyond the example apps in the repository.
A basic getting started would be,
1. Clone ponder using eGit
2. Import ponder frameworks into workspace
3. Copy '$repo/ponder/* Application Template' directories into ~/Library/Application Support/WOLips/Project Templates/
3. Eclipse->File->New->Other->WOLips->WOProject from Template, click Next> Select R2D2W Application, etc
4. Add Login and Logout to your Navigation.plist root children.
5. Set up your javamail properly in the Properties file
That would give you a basic D2W app with user management.
And for frameworks,
1. Create standard wonder framework in Eclipse
2. Copy $repo/ponder/ERR2D2W/Support/EOGenerator directory into ~/Library/Application Support/WOLips/ ( I think that's the right directory... I don't have the WOLips source in front of me)
3. Copy $repo/ponder/ERR2D2W/Support/Templates directory into your framework's root directory. You can do this in Eclipse.
4. Using WOLips, create your model, open your .eogen file and set the field Templates Folder: to Templates. I also recommend setting a Superclass Package: to something like eogen, gen, base, whatever. Just any package to keep your _Entity files separate from your Entity files.
5. Configure build path and add whatever ponder frameworks you'd like to access in your own framework.
6. Create a proper ERXFrameworkPrincipal subclass.
7. Eclipse->File->New->Other->WOLips->WOProject from Template, click Next> Select Test Application Template, etc. This will set up a unit test project for your new framework that basically works the same way as ERXTest. Once you have one unit test project, you can add other frameworks to it. You don't need more than one unless you just want more.
That's off the top of my head, so forgive me if it's missing some steps. If you have any questions, feel free to ask on list. :-)
Ramsey
On Feb 24, 2014, at 5:17 PM, Nilton Lessa wrote:
> Hi Ramsey,
>
> Is there any docs, podcast, etc, around how to use the ponder frameworks? It really seems it's great stuff!
>
> Bests!
>
> Nilton
>
>
>
> _______________________________________________
> 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