Re: Using EOF without a model
Re: Using EOF without a model
- Subject: Re: Using EOF without a model
- From: Chuck Hill <email@hidden>
- Date: Sun, 17 Mar 2013 20:53:33 -0700
Take a look at EOEntityClassDescription. I think you will need an EOClassDescription sub-class similar to that if you want to avoid having an EOModel.
Chuck
On 2013-03-17, at 6:09 PM, Pascal Robert wrote:
> FYI, before sending my email, I did try without a model by simply deleting the model, and I get:
>
> An object store for the entity "PrincipalCollection" could not be found. Verify that the entity is defined in an EOModel, and that the model is installed properly. To see what models are loaded, you can try printing the return value of EOModelGroup.defaultGroup() in your application.
>
>> I would like to build a CalDAV adaptor, but some stuff can't be really done in a model. Example: on certain CalDAV servers, you can act as a proxy (read-only or rw) to other users and in the user's DAV principals. In the user's principals, the calendar-proxy-write-for will have a value like this:
>>
>> <?xml version='1.0' encoding='UTF-8'?>
>> <calendar-proxy-write-for xmlns='http://calendarserver.org/ns/'>
>> <href xmlns='DAV:'>/principals/__uids__/4FDFAE18-ED9F-46C4-AC1A-21F75B2B9763/</href>
>> <href xmlns='DAV:'>/principals/__uids__/14D3CE99-7FD1-4A04-8808-F46D594EC07F/</href>
>> </calendar-proxy-write-for>
>>
>> So a href points to the URI of another user's principals, and it's a kind of relationship. But a relationship which can't be mapped in the model.
>>
>> I think doing a CalDAV adaptor would still be useful so that we can use qualifiers, etc., but without a model (the EOs would be classes that I would write manually). But I don't think it's possible to drop the model?
>> _______________________________________________
>> 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
--
Chuck Hill
Executive Managing Partner, VP Development and Technical Services
Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/gvc/practical_webobjects
Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C!
Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine!
_______________________________________________
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