Re: Concurrent request handling

2011-04-07 Thread Dev WO
Hello Chuck, Sorry to jump into this to add another question:) But I would have expected the formatter to not be an issue as it's not actually writing data. If you have a stateless app (like full of DA), how would you handle that as you can actually put the formatter in Session? Do you have to

Re: D2W master-detail handling question

2011-04-07 Thread Markus Ruggiero
Thanks, only after posting my question I realised that D2W distinguishes between EditDetail and CreateDetail page configs. You just confirmed my findings. This list (and all the folks that answer to postings) is just great. Eventually I'll be able to give answers myself. Have fun ---markus---

Re: Concurrent request handling

2011-04-07 Thread Andrew Lindesay
Hi Xavier; I would suggest not putting the formatter in the EO class because the EO is model layer and the formatter really belong as part of the display logic -- blurring the two eventually ends up causing design problems in the long-haul. I think in the past when faced with this

Re: Newbie question

2011-04-07 Thread Pascal Robert
Le 2011-04-06 à 23:48, Chuck Hill a écrit : That is going to leave you with a race condition. The only certain way to prevent the creation of duplicates is to put an unique constraint on the database. Then you have to catch the database exception (EOGeneralAdaptorException) in your code

Re: Newbie question

2011-04-07 Thread Amedeo Mantica
do you insert the Enterprise Object in the Editing Context immediately after creation or when submitting form ? On 07/apr/2011, at 12.39, Pascal Robert wrote: Le 2011-04-06 à 23:48, Chuck Hill a écrit : That is going to leave you with a race condition. The only certain way to prevent

Re: postgresql schema ignored when adding foreign key

2011-04-07 Thread Pascal Robert
Patch committed. Schemas don't work if you have the following property true com.webobjects.jdbcadaptor.PostgresqlExpression.enableIdentifierQuoting=true I have a patch to fix this in http://issues.objectstyle.org/jira/browse/WONDER-489 Postgresql PlugIn inconsistent application of

Re: postgresql schema ignored when adding foreign key

2011-04-07 Thread D Tim Cummings
Thanks Pascal Tim On 07/04/2011, at 21:53, Pascal Robert prob...@macti.ca wrote: Patch committed. Schemas don't work if you have the following property true com.webobjects.jdbcadaptor.PostgresqlExpression.enableIdentifierQuoting=true I have a patch to fix this in

Re: postgresql schema ignored when adding foreign key

2011-04-07 Thread Pascal Robert
Quick note: do your patches with Eclipse's Team - Create Patch, and use either .txt or .patch as the file extension. When using .diff, Jira will download it (and Safari will .rdp at the end) instead of showing the patch in the browser. It looks like it's just fundamentally broken, FKs and

Re: postgresql schema ignored when adding foreign key

2011-04-07 Thread Pascal Robert
Patch committed. It looks like it's just fundamentally broken, FKs and unique indexes just don't work in other schemas for postgtgres. For my fixes if you're curious. http://issues.objectstyle.org/jira/browse/WONDER-696 Thanks Tim this info. was helpful. -Mike On Apr 6, 2011, at

Re: WebObjects Community Annual Surveys are ready

2011-04-07 Thread Pascal Robert
Only 4 answers from US organizations... France and Germany have more! Does everyone in the US is working for Apple now or what? Hello everyone, The annual WebObjects Community Surveys are now available! The results will help us to prepare the content for WOWODC 2011 and community

Re: Concurrent request handling

2011-04-07 Thread Dev WO
Hello Andrew, Hi Xavier; I would suggest not putting the formatter in the EO class because the EO is model layer and the formatter really belong as part of the display logic -- blurring the two eventually ends up causing design problems in the long-haul. I completely agree with this:)

PHP Customer Request

2011-04-07 Thread Amedeo Mantica
Hello all, Generic question, how do you promote Java/WebObjects technology to customers ? A customer today asked me for a PHP/MySQ WebSite/WebApp. That was a specific request., he doesn't want a dynamic WebSite, he wants a php based website. Suggestions ? Amed

Re: PHP Customer Request

2011-04-07 Thread Mark Ritchie
IMHO, PHP and MySql can make a dynamic web site... And for some smaller sites, it makes total sense. Using a steam roller to set a nail tends to bruise fingers. ;-) M. On 7/Apr/2011, at 8:41 AM, Amedeo Mantica wrote: Hello all, Generic question, how do you promote Java/WebObjects technology

Re: PHP Customer Request

2011-04-07 Thread Dov Rosenberg
Save yourself the grief - the customer is an idiot if he thinks a php site is not a dynamic site. Dov On 4/7/11 8:41 AM, Amedeo Mantica amedeomail...@insigno.it wrote: Hello all, Generic question, how do you promote Java/WebObjects technology to customers ? A customer today asked me for

Latest WOWODC news

2011-04-07 Thread Pascal Robert
Hello everyone, For those you don't follow the @wowodc account on Twitter, let's go with a summary of WOWODC 2011 news. 1) The mostly final list of topics is available: http://wocommunity.org/wowodc11/topics.html I'm awaiting confirmation for two other presentations, but the bulk is

Re: PHP Customer Request

2011-04-07 Thread Chuck Hill
The place to start is to understand why your customer wants (or thinks that he wants) a site specifically in PHP. Maybe he has a valid reason. Maybe he thinks that PHP brings some benefit that other technologies don't. In that case, focus on the technical and business needs and then help him

Re: Concurrent request handling

2011-04-07 Thread Chuck Hill
On Apr 7, 2011, at 8:09 AM, Dev WO wrote: Hello Andrew, Hi Xavier; I would suggest not putting the formatter in the EO class because the EO is model layer and the formatter really belong as part of the display logic -- blurring the two eventually ends up causing design problems in

Re: Latest WOWODC news

2011-04-07 Thread Chuck Hill
On Apr 7, 2011, at 8:53 AM, Pascal Robert wrote: As last year, the Community Dinner will be at the hotel. Bring your spouse and kids! We will sell tickets for them when we make a final decision about the menu. Poutine, Fèves au lard, Tourtière, and smoked meat. What is there to decide?

Re: PHP Customer Request

2011-04-07 Thread Dov Rosenberg
It is a lot cheaper to host a php site - the cheapest GoDaddy hosting plan for $5/mon includes PHP and mysql. Dov On 4/7/11 8:55 AM, Chuck Hill ch...@global-village.net wrote: The place to start is to understand why your customer wants (or thinks that he wants) a site specifically in PHP.

Re: Latest WOWODC news

2011-04-07 Thread Louis Demers
On 2011-04-07, at 12:07 , Chuck Hill wrote: On Apr 7, 2011, at 8:53 AM, Pascal Robert wrote: As last year, the Community Dinner will be at the hotel. Bring your spouse and kids! We will sell tickets for them when we make a final decision about the menu. Poutine, Fèves au lard,

Re: PHP Customer Request

2011-04-07 Thread Paul D Yu
I'd build him the PHP system, then take his money again when he wants to upgrade the system. Paul On Apr 7, 2011, at 12:38 PM, Dov Rosenberg wrote: It is a lot cheaper to host a php site - the cheapest GoDaddy hosting plan for $5/mon includes PHP and mysql. Dov On 4/7/11 8:55 AM,

Re: Latest WOWODC news

2011-04-07 Thread Pascal Robert
Le 2011-04-07 à 12:07, Chuck Hill a écrit : On Apr 7, 2011, at 8:53 AM, Pascal Robert wrote: As last year, the Community Dinner will be at the hotel. Bring your spouse and kids! We will sell tickets for them when we make a final decision about the menu. Poutine, Fèves au lard,

Re: PHP Customer Request

2011-04-07 Thread Dov Rosenberg
This says a lot about the customer in general. If his primary motivation for going with PHP is cheap hosting - he is going to be a pain in the ass when it comes to payment and functionality. These kind of people want the moon for the price of a trip around the block. When I first started in this

Re: Concurrent request handling

2011-04-07 Thread Andrew Lindesay
Hi Xavier; I would probably add accessors to the superclass and then have a helper singleton to actually cache and factory them into the WOContext, but it depends on your application design as to what will work best. Hope this helps. cheers. That means I would have as much formatter

Re: PHP Customer Request

2011-04-07 Thread Dan Beatty
Greetings Dov, That is because half of the people whom made the means and built the trips to the moon were paid with a trip around the block. Later, Daniel Beatty, Ph.D. Candidate Computer Scientist, Detonation Sciences Branch Code 474300D 2400 E. Pilot Plant Rd. M/S 1109 China Lake, CA 93555