Re: Database choices

2007-10-30 Thread Shehryar Khan


If you're going to use MySQL with WebObjects in a production  
environment, make sure to do the following:


- create all your tables with InnoDB engine support - the default  
MyISAM support is non-transactional


- make sure to create all your tables with the right charset and  
collation (UTF-8 all the way).  MySQL's internationalization support  
is excellent but ONLY if configured properly.


- make sure to add the correct voodoo to the JDBC connection string  
for your application so that it uses the right charset / collation  
over the JDBC connection.


While MySQL has worked out quite well for us when used with  
WebObjects (and PHP), the lack of sequences makes it a less viable  
choice for projects going forward.


These days we go out of our way to design schemas that are  
WebObjects, Ruby on Rails, Hibernate, and PHP friendly.  The MySQL /  
EO_PK_TABLE paradigm just doesn't fit well in this methodology -  
PostgreSQL is a much better choice.


thanks!

-shehryar

On Oct 30, 2007, at 11:42 AM, John Huss wrote:


For example, the FrontBase mail list archive has this message:

Subject: [RESOLVED] Re: Optimization/Caching/Indexing how-to

The order of the columns in the composite index definition is very  
important for your case.


If you want the optimal performance, you need to put the timestamp  
column last in the index definition because it is used with a  
range. The server cannot use the column of an index after one with  
a range qualifier.


For example, in your case, if your composite index is define like  
these example with a = check on fkY and fkZ and a range on dateX:
- (dateX, fkY, fkZ), only the date columsn is used like an index  
(dateX)
- (fkY, dateX, fkZ), only the fkY and date columsn is used like an  
index (fkY, dateX)

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/khans% 
40ubermind.com


This email sent to [EMAIL PROTECTED]


___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Chat integration

2006-08-31 Thread Shehryar Khan


Just recently integrated

http://www.instantservice.com/

live chat solution into a WebObjects application.

Clicking on a live chat button in the header opens a chat frame at  
the bottom of the window where contact information (first name, last  
name) is auto-populated based on the the user logged in to the  
session.  User can type in a question and then click on a "start  
chat" button to initiate the chat in that same frame.  At the end of  
the chat, the bottom chat frame collapses.


This type of integration allows the user to chat and use the  
application at the same time, making it easy for a live chat agent to  
walk the customer through a particular flow.


Email me offline if you'd like more information on their solution or  
how we integrated with it.


-shehryar

On Aug 31, 2006, at 7:30 AM, James Cicenia wrote:


How about... cough, cough..  a php solution?
http://www.phplivesupport.com/

On Aug 31, 2006, at 9:12 AM, Guido Neitzer wrote:


Hi Steve.

This looks pretty interesting, but we are looking for a solution
providing "chatrooms" for our visitors.

I didn't make that clear, sorry. Nevertheless, Liveperson looks VERY
interesting for other stuff we do here - so I will take a closer look
at it.

Thanks!
cug

2006/8/31, Steve Quirk <[EMAIL PROTECTED]>:
We use liveperson to provide customer service.  If you're looking  
for
customer to service-rep chat, it's trivial to implement (about 4  
man hrs)

and pretty low overhead & cost effective.

http://www.liveperson.com

Steve




--
PostgreSQL Bootcamp, Big Nerd Ranch Europe, Nov 2006
http://www.bignerdranch.com/news/2006-08-21.shtml
___
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:
http://lists.apple.com/mailman/options/webobjects-dev/james% 
40jimijon.com


This email sent to [EMAIL PROTECTED]


___
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:
http://lists.apple.com/mailman/options/webobjects-dev/khans% 
40ubermind.com


This email sent to [EMAIL PROTECTED]





smime.p7s
Description: S/MIME cryptographic signature
 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Re: XCode 2.4: EOModeler & EOModeler Plugin deprecated?

2006-08-09 Thread Shehryar Khan


As someone that has Xcode 2.3 currently installed on my machine, does  
anyone know if upgrading to Xcode 2.4 will actually delete the  
applications that have been "deprecated" in Xcode 2.4?


On the same note, does "deprecated" imply that a machine with a clean  
install of Tiger and Xcode 2.4 will no longer have EOModeler /  
WebObjects Builder etc. on it or does it mean the applications will  
exist, just aren't guaranteed to work anymore since a critical  
component that they are dependent upon (the java bridge) has been  
deprecated.


thanks.

-shehryar

ps.  if they are indeed gone, building a (Cocoa) modeler that has the  
ability to generate not just EOModel files but also Hibernate and RoR  
model files may be a wonderful third party opportunity (especially  
with some creative uses of CoreAnimation).  That might just be an  
Übermind product in the making ;-).


On Aug 8, 2006, at 10:07 PM, Gaastra Dennis - WO Lists wrote:

So how will you be able to edit your EOModels in the future? Will  
there be a replacement?


With Kind Regards,

Dennis Gaastra, M.B.A.[sfu.ca], B.Sc.[ubc.ca]
Chief Technology Officer,

WEBAPPZ Systems, Inc.
HQ:  (+1) 604.921.1333
Fax:  (+1) 604.921.4313
Cell:  (+1) 604.787.2532

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/khans% 
40ubermind.com


This email sent to [EMAIL PROTECTED]




smime.p7s
Description: S/MIME cryptographic signature
 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Re: WWDC WO Meet

2006-07-10 Thread Shehryar Khan


There will be an Übermind contingent there.

+3

-shehryar

On Jul 9, 2006, at 3:42 AM, WODev wrote:


You can add 2 French to the list;)
we'll be there too and love to spend some time with the WO crew;)
We'd rather like monday too.

Nice to hear you might come Chuck:)

Xavier

It was in some Irish pub last year.  We should aim for someplace  
larger this year so that it is not standing room only.


Chuck

P.S. It looks like it might make it after all!

On Jul 8, 2006, at 12:04 PM, Alan Ward wrote:



and me.  The reception is usually over pretty early anyway.

Alan

On Jul 8, 2006, at 9:25 AM, Joe Little wrote:


Monday for me.


On 7/8/06, Mike Schrag <[EMAIL PROTECTED]> wrote:

After adding my votes to either Mon or Wed

People Coming So Far: 21
Mon: 6 Total - 2 Prefer, 4 Are OK
Tue: 1 Total - 1 Prefer
Wed: 4 Total - 2 Prefer, 2 Are OK
Thu: 1 Total - 1 Prefer

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/jmlittle% 
40gmail.com


This email sent to [EMAIL PROTECTED]


___
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:
http://lists.apple.com/mailman/options/webobjects-dev/award% 
40apple.com


This email sent to [EMAIL PROTECTED]


___
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:
http://lists.apple.com/mailman/options/webobjects-dev/chill% 
40global-village.net


This email sent to [EMAIL PROTECTED]


--
Coming sometime... - an introduction to web applications using  
WebObjects and Xcode http://www.global-village.net/wointro


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/products/ 
practical_webobjects





___
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:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects% 
40anazys.com


This email sent to [EMAIL PROTECTED]



___
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:
http://lists.apple.com/mailman/options/webobjects-dev/khans% 
40ubermind.com


This email sent to [EMAIL PROTECTED]





smime.p7s
Description: S/MIME cryptographic signature
 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Re: generating response in different thread

2006-05-26 Thread Shehryar Khan


Christian,

How about having the long response thread generate an http request  
(curl?) to a direct action in your app to generate a response which  
it then passes up to the main thread for display.


It ain't pretty but it will work.

-shehryar

On May 25, 2006, at 8:47 AM, Christian Pekeler wrote:

I have a bunch of pages that can take a long time to generate. I'd  
like to show a WOLongResponsePage in the interim. The typical way  
of using WOLongResponsePage is to run the business logic or  
whatever is taking a long time in a different thread (kicked off by  
WOLongResponsePage.performAction()), and once done, generate the  
final page with the result of that expensive computation (with  
WOLongResponsePage.pageForResult(Object)).


Unfortunately, the pages I have to deal with can't be used with  
this pattern. They're slow because they contain thousands of  
bindings which each are partly responsible for the slowness.  
Getting all the values upfront at once would require me to rewrite  
the pages - something I don't have time for.


So what I'd like to do instead is (simplified):
  WOLongResponsePage.performAction() {
  slowPage.generateResponse();

I think I've figured out how to do WOLongResponsePage.pageForResult  
(the slow pages are basically display-only). My problem is calling  
generateResponse() from a new thread. Some bindings on the slow  
pages are hooked up to the session, and to objects in the session's  
defaultEditingContext causing all sort of issues that I'm having  
troubles tracking down. So, has anyone ever done this sort of thing  
and could give me any advice?



Thanks,
Christian

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/khans% 
40ubermind.com


This email sent to [EMAIL PROTECTED]


___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com