You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by Joseph Senecal <se...@apple.com> on 2012/01/23 20:19:21 UTC
Replacing EOF with Cayenne
I remember reading somewhere that it was possible to replace EOF with Cayenne while still using the higher levels of WebObjects for HTML generation. But now I can't find where I came across that. Does anyone have any hints as to how to get WebObjects to use Cayenne instead EOF?
Joe Senecal
Re: Replacing EOF with Cayenne
Posted by Hugi Thordarson <hu...@karlmenn.is>.
Project Wonder adds support for Lists and Arrays in WORepetition, so you don't have to do that.
I'm using Cayenne in a few WO projects, works great.
Cheers,
-hugi
On 23.1.2012, at 20:26, John Huss wrote:
> The templates in the example app just have new NSArray() around the result
> of fetches and to-many relationship accessors. Not the most efficient, but
> functional.
>
> On Mon, Jan 23, 2012 at 1:54 PM, Joseph Senecal <se...@apple.com> wrote:
>
>> Thanks Pascal and John!
>>
>> I knew there was something somewhere.
>>
>> How does it work with Cayenne returning a List for relations when
>> WebObjects expects NSArray? Application code can be changed, but what about
>> WebObjects itself?
>>
>> Joe
>>
>> On Jan 23, 2012, at 11:50 AM, John Huss wrote:
>>
>>> And the example app:
>>>
>> https://github.com/projectwonder/wonder/tree/master/Examples/Misc/ERCayenneExample
>>>
>>> On Mon, Jan 23, 2012 at 1:22 PM, Pascal Robert <pr...@macti.ca> wrote:
>>>
>>>> And
>>>>
>> https://github.com/projectwonder/wonder/tree/master/Frameworks/Misc/ERCayenne
>>>>
>>>>>
>> http://wiki.wocommunity.org/display/WO/Alternative+Technologies-Cayenne
>>>>>
>>>>>> I remember reading somewhere that it was possible to replace EOF with
>>>> Cayenne while still using the higher levels of WebObjects for HTML
>>>> generation. But now I can't find where I came across that. Does anyone
>> have
>>>> any hints as to how to get WebObjects to use Cayenne instead EOF?
>>>>>>
>>>>>> Joe Senecal
>>>>>
>>>>
>>>>
>>
>>
Re: Replacing EOF with Cayenne
Posted by John Huss <jo...@gmail.com>.
The templates in the example app just have new NSArray() around the result
of fetches and to-many relationship accessors. Not the most efficient, but
functional.
On Mon, Jan 23, 2012 at 1:54 PM, Joseph Senecal <se...@apple.com> wrote:
> Thanks Pascal and John!
>
> I knew there was something somewhere.
>
> How does it work with Cayenne returning a List for relations when
> WebObjects expects NSArray? Application code can be changed, but what about
> WebObjects itself?
>
> Joe
>
> On Jan 23, 2012, at 11:50 AM, John Huss wrote:
>
> > And the example app:
> >
> https://github.com/projectwonder/wonder/tree/master/Examples/Misc/ERCayenneExample
> >
> > On Mon, Jan 23, 2012 at 1:22 PM, Pascal Robert <pr...@macti.ca> wrote:
> >
> >> And
> >>
> https://github.com/projectwonder/wonder/tree/master/Frameworks/Misc/ERCayenne
> >>
> >>>
> http://wiki.wocommunity.org/display/WO/Alternative+Technologies-Cayenne
> >>>
> >>>> I remember reading somewhere that it was possible to replace EOF with
> >> Cayenne while still using the higher levels of WebObjects for HTML
> >> generation. But now I can't find where I came across that. Does anyone
> have
> >> any hints as to how to get WebObjects to use Cayenne instead EOF?
> >>>>
> >>>> Joe Senecal
> >>>
> >>
> >>
>
>
Re: Replacing EOF with Cayenne
Posted by Joseph Senecal <se...@apple.com>.
Thanks Pascal and John!
I knew there was something somewhere.
How does it work with Cayenne returning a List for relations when WebObjects expects NSArray? Application code can be changed, but what about WebObjects itself?
Joe
On Jan 23, 2012, at 11:50 AM, John Huss wrote:
> And the example app:
> https://github.com/projectwonder/wonder/tree/master/Examples/Misc/ERCayenneExample
>
> On Mon, Jan 23, 2012 at 1:22 PM, Pascal Robert <pr...@macti.ca> wrote:
>
>> And
>> https://github.com/projectwonder/wonder/tree/master/Frameworks/Misc/ERCayenne
>>
>>> http://wiki.wocommunity.org/display/WO/Alternative+Technologies-Cayenne
>>>
>>>> I remember reading somewhere that it was possible to replace EOF with
>> Cayenne while still using the higher levels of WebObjects for HTML
>> generation. But now I can't find where I came across that. Does anyone have
>> any hints as to how to get WebObjects to use Cayenne instead EOF?
>>>>
>>>> Joe Senecal
>>>
>>
>>
Re: Replacing EOF with Cayenne
Posted by John Huss <jo...@gmail.com>.
And the example app:
https://github.com/projectwonder/wonder/tree/master/Examples/Misc/ERCayenneExample
On Mon, Jan 23, 2012 at 1:22 PM, Pascal Robert <pr...@macti.ca> wrote:
> And
> https://github.com/projectwonder/wonder/tree/master/Frameworks/Misc/ERCayenne
>
> > http://wiki.wocommunity.org/display/WO/Alternative+Technologies-Cayenne
> >
> >> I remember reading somewhere that it was possible to replace EOF with
> Cayenne while still using the higher levels of WebObjects for HTML
> generation. But now I can't find where I came across that. Does anyone have
> any hints as to how to get WebObjects to use Cayenne instead EOF?
> >>
> >> Joe Senecal
> >
>
>
Re: Replacing EOF with Cayenne
Posted by Pascal Robert <pr...@macti.ca>.
And https://github.com/projectwonder/wonder/tree/master/Frameworks/Misc/ERCayenne
> http://wiki.wocommunity.org/display/WO/Alternative+Technologies-Cayenne
>
>> I remember reading somewhere that it was possible to replace EOF with Cayenne while still using the higher levels of WebObjects for HTML generation. But now I can't find where I came across that. Does anyone have any hints as to how to get WebObjects to use Cayenne instead EOF?
>>
>> Joe Senecal
>
Re: Replacing EOF with Cayenne
Posted by Pascal Robert <pr...@macti.ca>.
http://wiki.wocommunity.org/display/WO/Alternative+Technologies-Cayenne
> I remember reading somewhere that it was possible to replace EOF with Cayenne while still using the higher levels of WebObjects for HTML generation. But now I can't find where I came across that. Does anyone have any hints as to how to get WebObjects to use Cayenne instead EOF?
>
> Joe Senecal