All WOWODC 2012 recordings now available

2013-05-02 Thread Pascal Robert
As we do every year just before the current WOWODC, we released the 
recordings from the previous WOWODC to make them available to everyone. 
Presentations:

• COScheduler in Depth 
• Apache FTP Server Integration 
• CMS / Blog and SnoWOman 
• Practical ERSync 
• WebObjects Optimization: EOF and Beyond 
• Dynamic Elements 
• ERRest: The Basics 
• ERRest: The Next Steps 
• ERRest in Depth 
• D2W Branding using jQuery ThemeRoller 

Available at http://www.wocommunity.org/webobjects_screencasts.html or in the 
RSS feed. If you wish to get the 2013 recordings in priority, either become a 
paid member of the WOCommunity Association, or even better, come to WOWODC 2013!
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: EOF related objects present a lot in the heap

2013-05-02 Thread Joseph Pachod
hi

@Chuck Hill
 The snapshots are referenced counted.
 (...) There is no way to accelerate this and I doubt it would be overall
beneficial to do so.  That would just increase the database traffic to
re-generate the snapshot.

The points which I see which could make it interesting for us are:
- for some entities, we create a new record at change. Each record has all
the data. As such, if 10 changes happen, only the latest record is actually
used. The others snapshots there consume heap space for nothing and for
quite some time,
- we currently use a one editing context per session strategy. Our users
potentially remain connected and active for hours. Whereas the data they
deal with can have a short lifespan (1 hour or so). So some of the data may
remain in the editing context while not being used anymore

But it looks like we have others ways to look for right now. As far as I
get it right now our best options to reduce RAM consumption looks like:
- reducing the editing context scope (so they retain less),
- switching to persistent sessions

Any other hint/option welcomed :)

@Musall Maik
 What would be the point of freeing some memory in WO only to allocate the
same memory in another process?
you're right in case of memcached. For our current issue putting it to the
file system or db would be better.

@Musall Maik
 Do you think it would be possible to not serialize out the session on
each RR loop, but instead having a short timeout delay (like 10 or 30
seconds), make the session persistent once the timeout is reached, and
keeping the actively used sessions in memory?

Well, from my wicket experience and what was said here earlier, the cost of
serialization is dramatically low. So adding 100 ms on each request and be
sure to spare RAM would be ok for me.

Anyway, once the mechanism is up and running, it's a matter of optimization.

@Ramsey Gurley
Do you have some estimate of the average size of serialized down sessions ?
Approximations are fine: do we speak of Kb, Mb, Gb ? I guess a few Mb but
then..

BTW, how does it play ball with the editing context snapshot ? Every time
no RR is running all snapshots are cleared, is it right ?


2013/4/30 Chuck Hill ch...@global-village.net


 On 2013-04-29, at 2:11 AM, Musall Maik wrote:

 
  Am 26.04.2013 um 21:21 schrieb Chuck Hill ch...@global-village.net:
 
 
  On 2013-04-26, at 12:12 PM, Ramsey Gurley wrote:
  Disadvantages of persistent sessions:
 
  * Hard. Everything must be serializable on your session. Your EOs,
 your WOComponents, everything. Fixing serialization errors is no walk in
 the park.
  * Serialization adds a few milliseconds wait to the RR loop.
  * Database load. Every RR loop is two selects and an update on a
 session row. Even if you isolate the session in their own database, there's
 a wall there. Get large enough and you'll hit it. Postgres 9.2 can handle
 about 14,000 writes per second according to what I've read.
 
  memcached, or something like that, might be an interesting alternative.
 
  What would be the point of freeing some memory in WO only to allocate
 the same memory in another process?

 I was considering how to make persistent sessions faster, not save memory.



 --
 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  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/jpachod%40improve.fr

 This email sent to jpac...@improve.fr

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: All WOWODC 2012 recordings now available

2013-05-02 Thread Pascal Robert
Looks like I forgot two presentations:

• Persistent Session Storage 
• Security and performance designs for client-server communications

I'm adding them right now.

 As we do every year just before the current WOWODC, we released the 
 recordings from the previous WOWODC to make them available to everyone. 
 Presentations:
 
   • COScheduler in Depth 
   • Apache FTP Server Integration 
   • CMS / Blog and SnoWOman 
   • Practical ERSync 
   • WebObjects Optimization: EOF and Beyond 
   • Dynamic Elements 
   • ERRest: The Basics 
   • ERRest: The Next Steps 
   • ERRest in Depth 
   • D2W Branding using jQuery ThemeRoller 
 
 Available at http://www.wocommunity.org/webobjects_screencasts.html or in the 
 RSS feed. If you wish to get the 2013 recordings in priority, either become a 
 paid member of the WOCommunity Association, or even better, come to WOWODC 
 2013!
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 
 This email sent to prob...@macti.ca


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: All WOWODC 2012 recordings now available

2013-05-02 Thread Jesse Tayler

why are we keeping videos private until they are a year old?

they should be published right away so people can use them.


On May 2, 2013, at 8:05 AM, Pascal Robert prob...@macti.ca wrote:

 Looks like I forgot two presentations:
 
   • Persistent Session Storage 
   • Security and performance designs for client-server communications
 
 I'm adding them right now.
 
 As we do every year just before the current WOWODC, we released the 
 recordings from the previous WOWODC to make them available to everyone. 
 Presentations:
 
  • COScheduler in Depth 
  • Apache FTP Server Integration 
  • CMS / Blog and SnoWOman 
  • Practical ERSync 
  • WebObjects Optimization: EOF and Beyond 
  • Dynamic Elements 
  • ERRest: The Basics 
  • ERRest: The Next Steps 
  • ERRest in Depth 
  • D2W Branding using jQuery ThemeRoller 
 
 Available at http://www.wocommunity.org/webobjects_screencasts.html or in 
 the RSS feed. If you wish to get the 2013 recordings in priority, either 
 become a paid member of the WOCommunity Association, or even better, come to 
 WOWODC 2013!
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 
 This email sent to prob...@macti.ca
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.com


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: All WOWODC 2012 recordings now available

2013-05-02 Thread David LeBer
Jesse,

Members have full immediate access, and memberships are not expensive.

D

--
David LeBer
Codeferous Software

On 2013-05-02, at 10:13 AM, Jesse Tayler jtay...@oeinc.com wrote:

 
 why are we keeping videos private until they are a year old?
 
 they should be published right away so people can use them.
 
 
 On May 2, 2013, at 8:05 AM, Pascal Robert prob...@macti.ca wrote:
 
 Looks like I forgot two presentations:
 
  • Persistent Session Storage 
  • Security and performance designs for client-server communications
 
 I'm adding them right now.
 
 As we do every year just before the current WOWODC, we released the 
 recordings from the previous WOWODC to make them available to everyone. 
 Presentations:
 
 • COScheduler in Depth 
 • Apache FTP Server Integration 
 • CMS / Blog and SnoWOman 
 • Practical ERSync 
 • WebObjects Optimization: EOF and Beyond 
 • Dynamic Elements 
 • ERRest: The Basics 
 • ERRest: The Next Steps 
 • ERRest in Depth 
 • D2W Branding using jQuery ThemeRoller 
 
 Available at http://www.wocommunity.org/webobjects_screencasts.html or in 
 the RSS feed. If you wish to get the 2013 recordings in priority, either 
 become a paid member of the WOCommunity Association, or even better, come 
 to WOWODC 2013!
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 
 This email sent to prob...@macti.ca
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.com
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com
 
 This email sent to dleber_wo...@codeferous.com


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: All WOWODC 2012 recordings now available

2013-05-02 Thread Jesse Tayler

indeed, I can see they are valued and keeping things private has its place.

I'm certain my membership is paid up to date, as are my tickets to the event, 
however- 

I would not find that a neighborly thing to grow community myself, is all. 

since I'm not in charge of the community, this is of course, just my casual 
outsider's observation.


On May 2, 2013, at 10:40 AM, David LeBer dleber_wo...@codeferous.com wrote:

 Jesse,
 
 Members have full immediate access, and memberships are not expensive.
 
 D
 
 --
 David LeBer
 Codeferous Software
 
 On 2013-05-02, at 10:13 AM, Jesse Tayler jtay...@oeinc.com wrote:
 
 
 why are we keeping videos private until they are a year old?
 
 they should be published right away so people can use them.
 
 
 On May 2, 2013, at 8:05 AM, Pascal Robert prob...@macti.ca wrote:
 
 Looks like I forgot two presentations:
 
 • Persistent Session Storage 
 • Security and performance designs for client-server communications
 
 I'm adding them right now.
 
 As we do every year just before the current WOWODC, we released the 
 recordings from the previous WOWODC to make them available to everyone. 
 Presentations:
 
• COScheduler in Depth 
• Apache FTP Server Integration 
• CMS / Blog and SnoWOman 
• Practical ERSync 
• WebObjects Optimization: EOF and Beyond 
• Dynamic Elements 
• ERRest: The Basics 
• ERRest: The Next Steps 
• ERRest in Depth 
• D2W Branding using jQuery ThemeRoller 
 
 Available at http://www.wocommunity.org/webobjects_screencasts.html or in 
 the RSS feed. If you wish to get the 2013 recordings in priority, either 
 become a paid member of the WOCommunity Association, or even better, come 
 to WOWODC 2013!
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 
 This email sent to prob...@macti.ca
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.com
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com
 
 This email sent to dleber_wo...@codeferous.com
 


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: All WOWODC 2012 recordings now available

2013-05-02 Thread Pascal Robert
 
 why are we keeping videos private until they are a year old?
 
 they should be published right away so people can use them.

And the hosting of WOCommunity.org and other things will magically be paid by 
magic? I had stopped working for ONE MONTH last year to work on my WOWODC 
presentations (and the organization, and editing the recordings) last year and 
I would have to pay for the WOCommunity hosting out of my pocket so that people 
who wants access to the content don't pay 50$ a year? Sorry, but no.

 On May 2, 2013, at 8:05 AM, Pascal Robert prob...@macti.ca wrote:
 
 Looks like I forgot two presentations:
 
 • Persistent Session Storage 
 • Security and performance designs for client-server communications
 
 I'm adding them right now.
 
 As we do every year just before the current WOWODC, we released the 
 recordings from the previous WOWODC to make them available to everyone. 
 Presentations:
 
• COScheduler in Depth 
• Apache FTP Server Integration 
• CMS / Blog and SnoWOman 
• Practical ERSync 
• WebObjects Optimization: EOF and Beyond 
• Dynamic Elements 
• ERRest: The Basics 
• ERRest: The Next Steps 
• ERRest in Depth 
• D2W Branding using jQuery ThemeRoller 
 
 Available at http://www.wocommunity.org/webobjects_screencasts.html or in 
 the RSS feed. If you wish to get the 2013 recordings in priority, either 
 become a paid member of the WOCommunity Association, or even better, come 
 to WOWODC 2013!
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 
 This email sent to prob...@macti.ca
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.com
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com
 
 This email sent to dleber_wo...@codeferous.com
 


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: All WOWODC 2012 recordings now available

2013-05-02 Thread David LeBer
It's a tough decision.

Running the community is not free, there are cost involved and the only revenue 
we have it the memberships. Early access to the videos is a significant 
incentive to purchasing them.

The pessimist in me says that the ship has sailed on enlarging the community to 
any great degree. Certainly not to the point where risking the benefits that 
the WOCommunity org brings by sabotaging it's revenue stream makes any kind of 
sense.

Some videos are always released immediately after WOWODC for free, and 
community members are always welcome to create their own and post them anytime 
they want. 

The current rules still make sense to me.

D

--
David LeBer
Codeferous Software

On 2013-05-02, at 10:48 AM, Jesse Tayler jtay...@oeinc.com wrote:

 
 indeed, I can see they are valued and keeping things private has its place.
 
 I'm certain my membership is paid up to date, as are my tickets to the event, 
 however- 
 
 I would not find that a neighborly thing to grow community myself, is all. 
 
 since I'm not in charge of the community, this is of course, just my casual 
 outsider's observation.
 
 
 On May 2, 2013, at 10:40 AM, David LeBer dleber_wo...@codeferous.com wrote:
 
 Jesse,
 
 Members have full immediate access, and memberships are not expensive.
 
 D
 
 --
 David LeBer
 Codeferous Software
 
 On 2013-05-02, at 10:13 AM, Jesse Tayler jtay...@oeinc.com wrote:
 
 
 why are we keeping videos private until they are a year old?
 
 they should be published right away so people can use them.
 
 
 On May 2, 2013, at 8:05 AM, Pascal Robert prob...@macti.ca wrote:
 
 Looks like I forgot two presentations:
 
• Persistent Session Storage 
• Security and performance designs for client-server communications
 
 I'm adding them right now.
 
 As we do every year just before the current WOWODC, we released the 
 recordings from the previous WOWODC to make them available to everyone. 
 Presentations:
 
   • COScheduler in Depth 
   • Apache FTP Server Integration 
   • CMS / Blog and SnoWOman 
   • Practical ERSync 
   • WebObjects Optimization: EOF and Beyond 
   • Dynamic Elements 
   • ERRest: The Basics 
   • ERRest: The Next Steps 
   • ERRest in Depth 
   • D2W Branding using jQuery ThemeRoller 
 
 Available at http://www.wocommunity.org/webobjects_screencasts.html or in 
 the RSS feed. If you wish to get the 2013 recordings in priority, either 
 become a paid member of the WOCommunity Association, or even better, come 
 to WOWODC 2013!
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 
 This email sent to prob...@macti.ca
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.com
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com
 
 This email sent to dleber_wo...@codeferous.com
 
 


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: All WOWODC 2012 recordings now available

2013-05-02 Thread Pascal Robert

Le 2013-05-02 à 10:57, David LeBer dleber_wo...@codeferous.com a écrit :

 It's a tough decision.
 
 Running the community is not free, there are cost involved and the only 
 revenue we have it the memberships. Early access to the videos is a 
 significant incentive to purchasing them.
 
 The pessimist in me says that the ship has sailed on enlarging the community 
 to any great degree. Certainly not to the point where risking the benefits 
 that the WOCommunity org brings by sabotaging it's revenue stream makes any 
 kind of sense.
 
 Some videos are always released immediately after WOWODC for free, and 
 community members are always welcome to create their own and post them 
 anytime they want. 

And in the last two years, we also released the slides for all presentations a 
couple of days after the conference.

 
 The current rules still make sense to me.
 
 D
 
 --
 David LeBer
 Codeferous Software
 
 On 2013-05-02, at 10:48 AM, Jesse Tayler jtay...@oeinc.com wrote:
 
 
 indeed, I can see they are valued and keeping things private has its place.
 
 I'm certain my membership is paid up to date, as are my tickets to the 
 event, however- 
 
 I would not find that a neighborly thing to grow community myself, is all. 
 
 since I'm not in charge of the community, this is of course, just my casual 
 outsider's observation.
 
 
 On May 2, 2013, at 10:40 AM, David LeBer dleber_wo...@codeferous.com wrote:
 
 Jesse,
 
 Members have full immediate access, and memberships are not expensive.
 
 D
 
 --
 David LeBer
 Codeferous Software
 
 On 2013-05-02, at 10:13 AM, Jesse Tayler jtay...@oeinc.com wrote:
 
 
 why are we keeping videos private until they are a year old?
 
 they should be published right away so people can use them.
 
 
 On May 2, 2013, at 8:05 AM, Pascal Robert prob...@macti.ca wrote:
 
 Looks like I forgot two presentations:
 
   • Persistent Session Storage 
   • Security and performance designs for client-server communications
 
 I'm adding them right now.
 
 As we do every year just before the current WOWODC, we released the 
 recordings from the previous WOWODC to make them available to everyone. 
 Presentations:
 
  • COScheduler in Depth 
  • Apache FTP Server Integration 
  • CMS / Blog and SnoWOman 
  • Practical ERSync 
  • WebObjects Optimization: EOF and Beyond 
  • Dynamic Elements 
  • ERRest: The Basics 
  • ERRest: The Next Steps 
  • ERRest in Depth 
  • D2W Branding using jQuery ThemeRoller 
 
 Available at http://www.wocommunity.org/webobjects_screencasts.html or 
 in the RSS feed. If you wish to get the 2013 recordings in priority, 
 either become a paid member of the WOCommunity Association, or even 
 better, come to WOWODC 2013!
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 
 This email sent to prob...@macti.ca
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.com
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com
 
 This email sent to dleber_wo...@codeferous.com
 
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 
 This email sent to prob...@macti.ca


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: All WOWODC 2012 recordings now available

2013-05-02 Thread Patrick Abuzeni, MD
Jesse,
I am certain that no one, you included, would give out your code for free in 
the interest of growing your business. If that were true, I am sure this 
community and others would follow in those footsteps. I have full confidence in 
the community leaders that they know what they are doing. They distribute what 
they can for free, but there has to be a limit in order to cover basic overhead.

Patrick

On May 2, 2013, at 10:48 AM, Jesse Tayler jtay...@oeinc.com wrote:

 
 indeed, I can see they are valued and keeping things private has its place.
 
 I'm certain my membership is paid up to date, as are my tickets to the event, 
 however- 
 
 I would not find that a neighborly thing to grow community myself, is all. 
 
 since I'm not in charge of the community, this is of course, just my casual 
 outsider's observation.
 
 
 On May 2, 2013, at 10:40 AM, David LeBer dleber_wo...@codeferous.com wrote:
 
 Jesse,
 
 Members have full immediate access, and memberships are not expensive.
 
 D
 
 --
 David LeBer
 Codeferous Software
 
 On 2013-05-02, at 10:13 AM, Jesse Tayler jtay...@oeinc.com wrote:
 
 
 why are we keeping videos private until they are a year old?
 
 they should be published right away so people can use them.
 
 
 On May 2, 2013, at 8:05 AM, Pascal Robert prob...@macti.ca wrote:
 
 Looks like I forgot two presentations:
 
• Persistent Session Storage 
• Security and performance designs for client-server communications
 
 I'm adding them right now.
 
 As we do every year just before the current WOWODC, we released the 
 recordings from the previous WOWODC to make them available to everyone. 
 Presentations:
 
   • COScheduler in Depth 
   • Apache FTP Server Integration 
   • CMS / Blog and SnoWOman 
   • Practical ERSync 
   • WebObjects Optimization: EOF and Beyond 
   • Dynamic Elements 
   • ERRest: The Basics 
   • ERRest: The Next Steps 
   • ERRest in Depth 
   • D2W Branding using jQuery ThemeRoller 
 
 Available at http://www.wocommunity.org/webobjects_screencasts.html or in 
 the RSS feed. If you wish to get the 2013 recordings in priority, either 
 become a paid member of the WOCommunity Association, or even better, come 
 to WOWODC 2013!
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 
 This email sent to prob...@macti.ca
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
 
 This email sent to jtay...@oeinc.com
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com
 
 This email sent to dleber_wo...@codeferous.com
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/patrick%40xeotech.com
 
 This email sent to patr...@xeotech.com


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: All WOWODC 2012 recordings now available

2013-05-02 Thread Theodore Petrosky
And JMHO there is finally a core of Free videos that should get anyone started.

But I can say, that without them, I would have given up a long time ago. I 
still go back and re-watch them and realize that some problem I had was because 
I missed some very little comment from the presenter.



--- On Thu, 5/2/13, Pascal Robert prob...@macti.ca wrote:

 From: Pascal Robert prob...@macti.ca
 Subject: Re: All WOWODC 2012 recordings now available
 To: David LeBer dleber_wo...@codeferous.com
 Cc: WebObjects Development webobjects-dev@lists.apple.com
 Date: Thursday, May 2, 2013, 11:03 AM
 
 Le 2013-05-02 à 10:57, David LeBer dleber_wo...@codeferous.com
 a écrit :
 
  It's a tough decision.
  
  Running the community is not free, there are cost
 involved and the only revenue we have it the memberships.
 Early access to the videos is a significant incentive to
 purchasing them.
  
  The pessimist in me says that the ship has sailed on
 enlarging the community to any great degree. Certainly not
 to the point where risking the benefits that the WOCommunity
 org brings by sabotaging it's revenue stream makes any kind
 of sense.
  
  Some videos are always released immediately after
 WOWODC for free, and community members are always welcome to
 create their own and post them anytime they want. 
 
 And in the last two years, we also released the slides for
 all presentations a couple of days after the conference.
 
  
  The current rules still make sense to me.
  
  D
  
  --
  David LeBer
  Codeferous Software
  
  On 2013-05-02, at 10:48 AM, Jesse Tayler jtay...@oeinc.com
 wrote:
  
  
  indeed, I can see they are valued and keeping
 things private has its place.
  
  I'm certain my membership is paid up to date, as
 are my tickets to the event, however- 
  
  I would not find that a neighborly thing to grow
 community myself, is all. 
  
  since I'm not in charge of the community, this is
 of course, just my casual outsider's observation.
  
  
  On May 2, 2013, at 10:40 AM, David LeBer dleber_wo...@codeferous.com
 wrote:
  
  Jesse,
  
  Members have full immediate access, and
 memberships are not expensive.
  
  D
  
  --
  David LeBer
  Codeferous Software
  
  On 2013-05-02, at 10:13 AM, Jesse Tayler jtay...@oeinc.com
 wrote:
  
  
  why are we keeping videos private until
 they are a year old?
  
  they should be published right away so
 people can use them.
  
  
  On May 2, 2013, at 8:05 AM, Pascal Robert
 prob...@macti.ca
 wrote:
  
  Looks like I forgot two presentations:
  
      • Persistent
 Session Storage 
      • Security and
 performance designs for client-server communications
  
  I'm adding them right now.
  
  As we do every year just before the
 current WOWODC, we released the recordings from the
 previous WOWODC to make them available to everyone.
 Presentations:
  
      • COScheduler
 in Depth 
      • Apache FTP
 Server Integration 
      • CMS / Blog
 and SnoWOman 
      • Practical
 ERSync 
      • WebObjects
 Optimization: EOF and Beyond 
      • Dynamic
 Elements 
      • ERRest: The
 Basics 
      • ERRest: The
 Next Steps 
      • ERRest in
 Depth 
      • D2W Branding
 using jQuery ThemeRoller 
  
  Available at http://www.wocommunity.org/webobjects_screencasts.html
 or in the RSS feed. If you wish to get the 2013 recordings
 in priority, either become a paid member of the WOCommunity
 Association, or even better, come to WOWODC 2013!
 
 ___
  Do not post admin requests to the
 list. They will be ignored.
  Webobjects-dev mailing list 
     (Webobjects-dev@lists.apple.com)
  Help/Unsubscribe/Update your
 Subscription:
  https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
  
  This email sent to prob...@macti.ca
  
  
 
 ___
  Do not post admin requests to the list.
 They will be ignored.
  Webobjects-dev mailing list 
     (Webobjects-dev@lists.apple.com)
  Help/Unsubscribe/Update your
 Subscription:
  https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com
  
  This email sent to jtay...@oeinc.com
  
  
 
 ___
  Do not post admin requests to the list.
 They will be ignored.
  Webobjects-dev mailing list   
   (Webobjects-dev@lists.apple.com)
  Help/Unsubscribe/Update your Subscription:
  https://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com
  
  This email sent to dleber_wo...@codeferous.com
  
  
  
  
  ___
  Do not post admin requests to the list. They will be
 ignored.
  Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
  Help/Unsubscribe/Update your Subscription:
  https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
  
  This email sent to prob...@macti.ca
 
 
  ___
 Do not post admin requests to the list. They will be
 ignored.
 Webobjects-dev mailing 

what happened to this D2W Branding Using jQuery ThemeRoller?

2013-05-02 Thread Theodore Petrosky
did I miss something? was this going to be released? It looked good at WOWODC12.

Ted
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: EOF related objects present a lot in the heap

2013-05-02 Thread Ramsey Gurley

On May 2, 2013, at 4:53 AM, Joseph Pachod wrote:

 hi 
 
 @Chuck Hill
  The snapshots are referenced counted.  
  (...) There is no way to accelerate this and I doubt it would be overall 
  beneficial to do so.  That would just increase the database traffic to 
  re-generate the snapshot.
 
 The points which I see which could make it interesting for us are:
 - for some entities, we create a new record at change. Each record has all 
 the data. As such, if 10 changes happen, only the latest record is actually 
 used. The others snapshots there consume heap space for nothing and for quite 
 some time,
 - we currently use a one editing context per session strategy. Our users 
 potentially remain connected and active for hours. Whereas the data they deal 
 with can have a short lifespan (1 hour or so). So some of the data may remain 
 in the editing context while not being used anymore
 
 But it looks like we have others ways to look for right now. As far as I get 
 it right now our best options to reduce RAM consumption looks like:
 - reducing the editing context scope (so they retain less),
 - switching to persistent sessions
 
 Any other hint/option welcomed :)
 
 @Musall Maik
  What would be the point of freeing some memory in WO only to allocate the 
  same memory in another process?
 you're right in case of memcached. For our current issue putting it to the 
 file system or db would be better. 
 
 @Musall Maik
  Do you think it would be possible to not serialize out the session on each 
  RR loop, but instead having a short timeout delay (like 10 or 30 seconds), 
  make the session persistent once the timeout is reached, and keeping the 
  actively used sessions in memory?
 
 Well, from my wicket experience and what was said here earlier, the cost of 
 serialization is dramatically low. So adding 100 ms on each request and be 
 sure to spare RAM would be ok for me. 
 
 Anyway, once the mechanism is up and running, it's a matter of optimization.
 
 @Ramsey Gurley
 Do you have some estimate of the average size of serialized down sessions ? 
 Approximations are fine: do we speak of Kb, Mb, Gb ? I guess a few Mb but 
 then..

More like kilobytes in my testing. A five page backtrack cache with a few 
hundred EOs in list pages serialized down to ~73Kb in my demonstration last 
year. Like the object store only tries to keep snapshots of changed EOs, the 
same happens for serialization. Unchanged EOs are just serialized using their 
global IDs. Only changed EOs have their values serialized by default.

Naturally, your actual size may vary wildly depending on how you construct your 
components, how you reference your EOs, how many backtrack pages you allow, 
etc. Just using D2W, it is very light and fast.

 
 BTW, how does it play ball with the editing context snapshot ? Every time no 
 RR is running all snapshots are cleared, is it right ?


Yes. Just don't use the ERXObjectStoreCoordinatorPool. That leaks snapshots.


 
 
 2013/4/30 Chuck Hill ch...@global-village.net
 
 On 2013-04-29, at 2:11 AM, Musall Maik wrote:
 
 
  Am 26.04.2013 um 21:21 schrieb Chuck Hill ch...@global-village.net:
 
 
  On 2013-04-26, at 12:12 PM, Ramsey Gurley wrote:
  Disadvantages of persistent sessions:
 
  * Hard. Everything must be serializable on your session. Your EOs, your 
  WOComponents, everything. Fixing serialization errors is no walk in the 
  park.
  * Serialization adds a few milliseconds wait to the RR loop.
  * Database load. Every RR loop is two selects and an update on a session 
  row. Even if you isolate the session in their own database, there's a 
  wall there. Get large enough and you'll hit it. Postgres 9.2 can handle 
  about 14,000 writes per second according to what I've read.
 
  memcached, or something like that, might be an interesting alternative.
 
  What would be the point of freeing some memory in WO only to allocate the 
  same memory in another process?
 
 I was considering how to make persistent sessions faster, not save memory.
 
 
 
 --
 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  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/jpachod%40improve.fr
 
 This email sent to jpac...@improve.fr
 
 ___
 Do not post admin requests to the list. 

Triggering AjaxObserveField through javascript

2013-05-02 Thread Taylor Hadden
Hi there,

I've got a series of WOPopUpButtons each with their own AjaxObserveField. They 
all have the same options and related to different objects. When manually 
manipulating pop-ups, everything works perfectly.

I've also got another WOPopPupButton that is used to set the other pop-ups all 
at once. I set the values through javascript, and the selection fields on the 
page update, however their values are not submitted through AjaxObserveField. I 
have tried manually firing the onchange event in javascript, but it doesn't 
work.

I had previously used the observeFieldFrequency attribute of AjaxObserveField 
to bypass this problem, but that causes issues with text fields (which are set 
up in the same manner).

So, how can I get the javascript behind AjaxObserveField to update and submit 
these values?

Thanks,
-Taylor


taylorchadden.com
@drizztmainsword





 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: EOF related objects present a lot in the heap

2013-05-02 Thread Joseph Pachod
Chuck Hill said:
 The snapshots are referenced counted.  When the last EO using the
snapshot is refaulted or garbage collected, the snapshot is discarded.

Just to make sure:
- let say the editing context someEditingContext is asked to fetch some
entity and the result is assigned to foo, some variable. The corresponding
snapshot is stored on the way.
- now, the foo variable is no more used and ends up being garbage collected.
- What happens now to the corresponding snapshot ? If I get you right, this
snapshot will be garbage collected once the editingContext someEditingContext
is itself garbage collected, it this right ?

@Ramsey

Thanks for the reply.

What haven't use it yet in production BTW ?
​
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: EOF related objects present a lot in the heap

2013-05-02 Thread Chuck Hill

On 2013-05-02, at 4:11 PM, Joseph Pachod wrote:

 Chuck Hill said:
  The snapshots are referenced counted.  When the last EO using the snapshot 
  is refaulted or garbage collected, the snapshot is discarded.
 
 Just to make sure:
 - let say the editing context someEditingContext is asked to fetch some 
 entity and the result is assigned to foo, some variable. The corresponding 
 snapshot is stored on the way.
 - now, the foo variable is no more used and ends up being garbage collected.
 - What happens now to the corresponding snapshot ? If I get you right, this 
 snapshot will be garbage collected once the editingContext someEditingContext 
 is itself garbage collected, it this right ?

It should be collected shortly after foo is set to null or goes out of scope.  
Keep in mind that relationships between EOs are also references.


 
 @Ramsey
 
 Thanks for the reply. 
 
 What haven't use it yet in production BTW ?

Because he is Gurley!  rimshot /

Chuck


-- 
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  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: EOF related objects present a lot in the heap

2013-05-02 Thread Chuck Hill
Hi Joseph,

On 2013-05-02, at 4:53 AM, Joseph Pachod wrote:

 @Chuck Hill
  The snapshots are referenced counted.  
  (...) There is no way to accelerate this and I doubt it would be overall 
  beneficial to do so.  That would just increase the database traffic to 
  re-generate the snapshot.
 
 The points which I see which could make it interesting for us are:
 - for some entities, we create a new record at change. Each record has all 
 the data. As such, if 10 changes happen, only the latest record is actually 
 used. The others snapshots there consume heap space for nothing and for quite 
 some time,

Is there a modelled relationship to them?  Are you fetching all of the 
historical objects?


 - we currently use a one editing context per session strategy. Our users 
 potentially remain connected and active for hours. Whereas the data they deal 
 with can have a short lifespan (1 hour or so). So some of the data may remain 
 in the editing context while not being used anymore

That is definitely not a Best Practice way to use editing contexts.


 But it looks like we have others ways to look for right now. As far as I get 
 it right now our best options to reduce RAM consumption looks like:
 - reducing the editing context scope (so they retain less),

Yes, that is something that you need to do.  And also reduce the size of the 
page cache, don't model relationships that you don't require, and null 
references when they are no longer needed.

A good heap profiler will be of immense help here.


 - switching to persistent sessions

I have not dug into Ramsey's code, but there is a chance that won't really help 
your particular memory problems.  I see these as more of a scalability / 
failover benefit.


 Any other hint/option welcomed :)
 
 @Musall Maik
  What would be the point of freeing some memory in WO only to allocate the 
  same memory in another process?
 you're right in case of memcached. For our current issue putting it to the 
 file system or db would be better. 
 
 @Musall Maik
  Do you think it would be possible to not serialize out the session on each 
  RR loop, but instead having a short timeout delay (like 10 or 30 seconds), 
  make the session persistent once the timeout is reached, and keeping the 
  actively used sessions in memory?
 
 Well, from my wicket experience and what was said here earlier, the cost of 
 serialization is dramatically low. So adding 100 ms on each request and be 
 sure to spare RAM would be ok for me. 
 
 Anyway, once the mechanism is up and running, it's a matter of optimization.
 
 @Ramsey Gurley
 Do you have some estimate of the average size of serialized down sessions ? 
 Approximations are fine: do we speak of Kb, Mb, Gb ? I guess a few Mb but 
 then..
 
 BTW, how does it play ball with the editing context snapshot ? Every time no 
 RR is running all snapshots are cleared, is it right ?

Snapshots are below the EC layer.  A single snapshot is shared across ECs.  So 
the answer is it depends.


Chuck



 
 
 2013/4/30 Chuck Hill ch...@global-village.net
 
 On 2013-04-29, at 2:11 AM, Musall Maik wrote:
 
 
  Am 26.04.2013 um 21:21 schrieb Chuck Hill ch...@global-village.net:
 
 
  On 2013-04-26, at 12:12 PM, Ramsey Gurley wrote:
  Disadvantages of persistent sessions:
 
  * Hard. Everything must be serializable on your session. Your EOs, your 
  WOComponents, everything. Fixing serialization errors is no walk in the 
  park.
  * Serialization adds a few milliseconds wait to the RR loop.
  * Database load. Every RR loop is two selects and an update on a session 
  row. Even if you isolate the session in their own database, there's a 
  wall there. Get large enough and you'll hit it. Postgres 9.2 can handle 
  about 14,000 writes per second according to what I've read.
 
  memcached, or something like that, might be an interesting alternative.
 
  What would be the point of freeing some memory in WO only to allocate the 
  same memory in another process?
 
 I was considering how to make persistent sessions faster, not save memory.
 
 
 
 --
 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  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/jpachod%40improve.fr
 
 This email sent to jpac...@improve.fr
 

-- 
Chuck Hill 
Executive Managing 

Re: EOF related objects present a lot in the heap

2013-05-02 Thread Ramsey Gurley

On May 2, 2013, at 4:25 PM, Chuck Hill wrote:

 
 On 2013-05-02, at 4:11 PM, Joseph Pachod wrote:
 
 Chuck Hill said:
 The snapshots are referenced counted.  When the last EO using the snapshot 
 is refaulted or garbage collected, the snapshot is discarded.
 
 Just to make sure:
 - let say the editing context someEditingContext is asked to fetch some 
 entity and the result is assigned to foo, some variable. The corresponding 
 snapshot is stored on the way.
 - now, the foo variable is no more used and ends up being garbage collected.
 - What happens now to the corresponding snapshot ? If I get you right, this 
 snapshot will be garbage collected once the editingContext 
 someEditingContext is itself garbage collected, it this right ?
 
 It should be collected shortly after foo is set to null or goes out of scope. 
  Keep in mind that relationships between EOs are also references.
 
 
 
 @Ramsey
 
 Thanks for the reply. 
 
 What haven't use it yet in production BTW ?
 
 Because he is Gurley!  rimshot /
 
 Chuck

:D

The main reason is that serialization wouldn't solve any of the problems I 
fight at work. My work apps have very few concurrent sessions.

Ramsey
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


D2W Design Question

2013-05-02 Thread Johnny Miller
Hi,

I'm trying to figure out something and I'm lost again.  And I figure there is 
an easy answer so here goes:

I'm using embedded components and I have a master list style page.  On my 
inspect component I have an ERDActionBar that lets the user go between 
different screens such as inspect page, an edit page and different pages for 
special attribute handling and relationships.

So here is my question: if I'm showing a list of objects from a to many 
relationship - how do I open a new page to edit one of the objects in the 
relationship without changing what the current object is and without using a 
modal window?

Thanks in advance,

Aloha,
Mr. Johnny Miller
Web Development Manager
Kahalawai Media Company
Lahaina, HI 96761
tel: (808) 661-7962 | mobile: (808) 283-0791
website | e-mail

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: D2W Design Question

2013-05-02 Thread David Holt
Hi Johnny,

You can make a custom link component with target = _blank for the embedded 
list. You need to declare a dummy property key for that entity, and call your 
customComponent for that property key. If you need a hand with the actual 
component, let me know.

David



On 2013-05-02, at 5:13 PM, Johnny Miller jlmil...@kahalawai.com wrote:

 Hi,
 
 I'm trying to figure out something and I'm lost again.  And I figure there is 
 an easy answer so here goes:
 
 I'm using embedded components and I have a master list style page.  On my 
 inspect component I have an ERDActionBar that lets the user go between 
 different screens such as inspect page, an edit page and different pages for 
 special attribute handling and relationships.
 
 So here is my question: if I'm showing a list of objects from a to many 
 relationship - how do I open a new page to edit one of the objects in the 
 relationship without changing what the current object is and without using a 
 modal window?
 
 Thanks in advance,
 
 Aloha,
 Mr. Johnny Miller
 Web Development Manager
 Kahalawai Media Company
 Lahaina, HI 96761
 tel: (808) 661-7962 | mobile: (808) 283-0791
 website | e-mail  
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
 
 This email sent to programming...@mac.com

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: D2W Design Question

2013-05-02 Thread Johnny Miller
Thanks David,

I'll take you up on that :)

So maybe what I'm doing is the wrong approach but this is my method:

The ERDActionBar's delegate assigns a pageConfiguration.

In my rules I say for that page configuration use an inspect page template that 
subclasses ERD2WInspectPage.  On that template it has some presentation code 
and a component that subclasses ERDInspectPageRepetition.  I'm using the 
subclass of ERDInspectPageRepetition to fetch the eos and print them to the 
screen.  So...

Is there an example of a custom link component in Wonder?  Can I just create a 
componentAction that sets the propertyKey to the dummy key? 

I don't understand why I would use target = _blank?  I don't want to change 
the browser window?  Or is that a special D2W thing?

Thanks a lot!

Johnny

On May 2, 2013, at 2:22 PM, David Holt programming...@mac.com wrote:

 Hi Johnny,
 
 You can make a custom link component with target = _blank for the embedded 
 list. You need to declare a dummy property key for that entity, and call your 
 customComponent for that property key. If you need a hand with the actual 
 component, let me know.
 
 David
 
 
 
 On 2013-05-02, at 5:13 PM, Johnny Miller jlmil...@kahalawai.com wrote:
 
 Hi,
 
 I'm trying to figure out something and I'm lost again.  And I figure there 
 is an easy answer so here goes:
 
 I'm using embedded components and I have a master list style page.  On my 
 inspect component I have an ERDActionBar that lets the user go between 
 different screens such as inspect page, an edit page and different pages for 
 special attribute handling and relationships.
 
 So here is my question: if I'm showing a list of objects from a to many 
 relationship - how do I open a new page to edit one of the objects in the 
 relationship without changing what the current object is and without using a 
 modal window?
 
 Thanks in advance,
 
 Aloha,
 Mr. Johnny Miller
 Web Development Manager
 Kahalawai Media Company
 Lahaina, HI 96761
 tel: (808) 661-7962 | mobile: (808) 283-0791
 website | e-mail 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
 
 This email sent to programming...@mac.com
 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: D2W Design Question

2013-05-02 Thread David Holt
Hi Johnny,

Ok, I admit to now being confused.

Your master list is D2W? Or is it just loading embedded D2W components below it?

When you said new page I interpreted that as new window. Not sure what this 
looks like. Screen shots would help.

Is the link in question from a to-many relationship on your inspect page? Or is 
it from the original list? I was assuming that you would be able to get the 
object in the list, then pass that in your link to your new page. What object 
is it that you don't want to lose reference to?

In case it helps, here is how I usually create a  simple link for a situation 
like yours. It could be in any page, really, but I usually put such a thing in 
a list page:

.wo

wo:link action = $viewwo:str value = $displayValue//wo:link

.java

public class SelectDocumentForView extends ERXStatelessComponent {
public SelectDocumentForView(WOContext context) {
super(context);
}

public EOEnterpriseObject object() {
return (EOEnterpriseObject) valueForBinding(object);
}

public String key() {
return (String) valueForBinding(key);
}

public String displayValue() {
return (String) object().valueForKey(key());
}

public WOComponent view() {
Document selectedDocument = (Document) object();
return (WOComponent) 
((Session)session()).navController().inspectDocument(selectedDocument);
}

}

rules:

100 : (pageConfiguration = 'ListMyWGDocuments' and propertyKey = 'title') = 
componentName = D2WCustomComponent [com.webobjects.directtoweb.Assignment]
100 : (pageConfiguration = 'ListMyWGDocuments' and propertyKey = 'title') = 
customComponentName = SelectDocumentForView 
[com.webobjects.directtoweb.Assignment]


To set up a dummy propertyKey you just declare it in your displayPropertyKeys 
for that pageConfiguration. So if 'title' wasn't actually a property, it would 
still show up because I've declared a component for it. You'd change the html 
above to display a static string instead of the value of the propertyKey.

Hope that helps,
David



On 2013-05-02, at 6:17 PM, Johnny Miller jlmil...@kahalawai.com wrote:

 Thanks David,
 
 I'll take you up on that :)
 
 So maybe what I'm doing is the wrong approach but this is my method:
 
 The ERDActionBar's delegate assigns a pageConfiguration.
 
 In my rules I say for that page configuration use an inspect page template 
 that subclasses ERD2WInspectPage.  On that template it has some presentation 
 code and a component that subclasses ERDInspectPageRepetition.  I'm using the 
 subclass of ERDInspectPageRepetition to fetch the eos and print them to the 
 screen.  So...
 
 Is there an example of a custom link component in Wonder?  Can I just create 
 a componentAction that sets the propertyKey to the dummy key? 
 
 I don't understand why I would use target = _blank?  I don't want to change 
 the browser window?  Or is that a special D2W thing?
 
 Thanks a lot!
 
 Johnny
 
 On May 2, 2013, at 2:22 PM, David Holt programming...@mac.com wrote:
 
 Hi Johnny,
 
 You can make a custom link component with target = _blank for the embedded 
 list. You need to declare a dummy property key for that entity, and call 
 your customComponent for that property key. If you need a hand with the 
 actual component, let me know.
 
 David
 
 
 
 On 2013-05-02, at 5:13 PM, Johnny Miller jlmil...@kahalawai.com wrote:
 
 Hi,
 
 I'm trying to figure out something and I'm lost again.  And I figure there 
 is an easy answer so here goes:
 
 I'm using embedded components and I have a master list style page.  On my 
 inspect component I have an ERDActionBar that lets the user go between 
 different screens such as inspect page, an edit page and different pages 
 for special attribute handling and relationships.
 
 So here is my question: if I'm showing a list of objects from a to many 
 relationship - how do I open a new page to edit one of the objects in the 
 relationship without changing what the current object is and without using 
 a modal window?
 
 Thanks in advance,
 
 Aloha,
 Mr. Johnny Miller
 Web Development Manager
 Kahalawai Media Company
 Lahaina, HI 96761
 tel: (808) 661-7962 | mobile: (808) 283-0791
 website | e-mail
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
 
 This email sent to programming...@mac.com
 
 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This 

Re: D2W Design Question

2013-05-02 Thread Johnny Miller
I have the power to confuse anyone when it comes to this WO/D2W!

OK.  I created a screenshot with comments and I've posted it here: 
http://www.kahalawai.com/ToManyLink.jpg

So yes... I'm using embedded d2w components.  Each of the thumbnails is a link. 
 When the user clicks on the thumbnail it should keep the first two columns the 
same and in the third column keep the action bar but replace the list of thumbs 
with a form to edit the thumbnail (or create a new one).

The model is:

Product - Product Images - ERAttachment

The selected object in the display group is a Product the list of the thumbs 
are Product Image eos.

I'm just trying to figure out how to put that component action in there... so I 
keep the current selected object but I have a secondary selected object somehow.

Does that help?  Or make any sense?  

Thanks,

Johnny


On May 2, 2013, at 3:39 PM, David Holt programming...@mac.com wrote:

 Hi Johnny,
 
 Ok, I admit to now being confused.
 
 Your master list is D2W? Or is it just loading embedded D2W components below 
 it?
 
 When you said new page I interpreted that as new window. Not sure what 
 this looks like. Screen shots would help.
 
 Is the link in question from a to-many relationship on your inspect page? Or 
 is it from the original list? I was assuming that you would be able to get 
 the object in the list, then pass that in your link to your new page. What 
 object is it that you don't want to lose reference to?
 
 In case it helps, here is how I usually create a  simple link for a situation 
 like yours. It could be in any page, really, but I usually put such a thing 
 in a list page:
 
 .wo
 
 wo:link action = $viewwo:str value = $displayValue//wo:link
 
 .java
 
 public class SelectDocumentForView extends ERXStatelessComponent {
   public SelectDocumentForView(WOContext context) {
   super(context);
   }
 
   public EOEnterpriseObject object() {
   return (EOEnterpriseObject) valueForBinding(object);
   }
 
   public String key() {
   return (String) valueForBinding(key);
   }
 
   public String displayValue() {
   return (String) object().valueForKey(key());
   }
   
   public WOComponent view() {
   Document selectedDocument = (Document) object();
   return (WOComponent) 
 ((Session)session()).navController().inspectDocument(selectedDocument);
   }
   
 }
 
 rules:
 
 100 : (pageConfiguration = 'ListMyWGDocuments' and propertyKey = 'title') = 
 componentName = D2WCustomComponent [com.webobjects.directtoweb.Assignment]
 100 : (pageConfiguration = 'ListMyWGDocuments' and propertyKey = 'title') = 
 customComponentName = SelectDocumentForView 
 [com.webobjects.directtoweb.Assignment]
 
 
 To set up a dummy propertyKey you just declare it in your displayPropertyKeys 
 for that pageConfiguration. So if 'title' wasn't actually a property, it 
 would still show up because I've declared a component for it. You'd change 
 the html above to display a static string instead of the value of the 
 propertyKey.
 
 Hope that helps,
 David
 
 
 
 On 2013-05-02, at 6:17 PM, Johnny Miller jlmil...@kahalawai.com wrote:
 
 Thanks David,
 
 I'll take you up on that :)
 
 So maybe what I'm doing is the wrong approach but this is my method:
 
 The ERDActionBar's delegate assigns a pageConfiguration.
 
 In my rules I say for that page configuration use an inspect page template 
 that subclasses ERD2WInspectPage.  On that template it has some presentation 
 code and a component that subclasses ERDInspectPageRepetition.  I'm using 
 the subclass of ERDInspectPageRepetition to fetch the eos and print them to 
 the screen.  So...
 
 Is there an example of a custom link component in Wonder?  Can I just create 
 a componentAction that sets the propertyKey to the dummy key? 
 
 I don't understand why I would use target = _blank?  I don't want to 
 change the browser window?  Or is that a special D2W thing?
 
 Thanks a lot!
 
 Johnny
 
 On May 2, 2013, at 2:22 PM, David Holt programming...@mac.com wrote:
 
 Hi Johnny,
 
 You can make a custom link component with target = _blank for the 
 embedded list. You need to declare a dummy property key for that entity, 
 and call your customComponent for that property key. If you need a hand 
 with the actual component, let me know.
 
 David
 
 
 
 On 2013-05-02, at 5:13 PM, Johnny Miller jlmil...@kahalawai.com wrote:
 
 Hi,
 
 I'm trying to figure out something and I'm lost again.  And I figure there 
 is an easy answer so here goes:
 
 I'm using embedded components and I have a master list style page.  On 
 my inspect component I have an ERDActionBar that lets the user go between 
 different screens such as inspect page, an edit page and different pages 
 for special attribute handling and relationships.
 
 So here is my question: if I'm showing a list of objects from a to many 
 relationship - how do I open a new page to edit one of the