Re: [Webware-discuss] Cherrypy like mapping for webware

2005-03-29 Thread Huy
Ian Bicking wrote: Huy wrote: Just wondering if Webware could do cherrypy like url mapping. Does the new WSGIKit support this either ? In SVN there's URLParser, which allows for a number of kinds of URL parsing overrides -- look at WebKit.URLParser.URLParser.parseInit. This works

[Webware-discuss] Thread safety and self question

2005-03-29 Thread Huy
Hi, Is it safe to use self.var_name in a webware serlvet across different methods in that servlet ? Does webware provide a unique object per request/thread ? Thanks Huy --- SF email is sponsored by - The IT Product Guide Read honest & ca

Re: [Webware-discuss] Cherrypy like mapping for webware

2005-03-26 Thread Huy
Ian Bicking wrote: Huy wrote: Just wondering if Webware could do cherrypy like url mapping. Does the new WSGIKit support this either ? In SVN there's URLParser, which allows for a number of kinds of URL parsing overrides -- look at WebKit.URLParser.URLParser.parseInit. Thanks I'll ch

[Webware-discuss] Cherrypy like mapping for webware

2005-03-26 Thread Huy
Hi, Just wondering if Webware could do cherrypy like url mapping. Does the new WSGIKit support this either ? THanks Huy --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real u

Re: [Webware-discuss] FWIW: my way to use cheetah with webware

2005-03-11 Thread Huy
Webware (and Python if I new about it 5 years ago) so I'm definitely not complaining. Ohh and by the way, whoever said CGI was not scaleable was talking out of their ass. Huy --- SF email is sponsored by - The IT Product Guide Read hone

[Webware-discuss] QL

2005-02-08 Thread Huy
Ian Bicking wrote: Huy wrote: IMO Python does not have a powerful enough ORM. Although most of these solutons provide the simple selects, updates, inserts and joins none of them provide good handling of legacy databases or flexibility of using the sql of your choosing (which I think is crucial

Re: [Webware-discuss] Database ORM's

2005-02-07 Thread Huy
fter using it for a while I still prefer ibatis for more complex applications. I think any ORM which enforces a database design (eg. key has to be integer id etc.) is of no use except for the simplest applications. Huy --- SF email is spon

Re: [Webware-discuss] How are you guys dealing with web security?

2004-11-12 Thread Huy
bot like behaviour (DOS) ? Huy --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, O

RE: [Webware-discuss] How can I always reload modules?

2004-04-30 Thread Huy Do
I had an error, this error will be always shown, how > can I avoid this? Where did you define your _error list ? If you it's in __init__, then you must remember to clear it after every request, or you can clear it out in def awake() before each re

[Webware-discuss] Cheetah Template vs Plain Python Class

2003-07-26 Thread Huy Do
offer over a normal python class. This is my understanding, but I if anyone can provide some more/other insight, it would be greatly appreciated. Thanks Huy --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Repor

RE: [Webware-discuss] Reusability of servlets

2003-03-03 Thread Huy Do
inheritance which I agree with you does not work very well for this purpose. Hope I've made some sense. My only complaint so far is not having an integrated resource loader (think java) type module. I've had to create a module global which I load in __init__.py. Is this the correct way o

[Webware-discuss] Session and DB Cursors

2003-02-25 Thread Huy Do
1000. This way, I don't need to requery when the user clicks next, prev etc. Can someone give me some comments on whether this will this work in Webware ? Kind Regards, Huy --- This SF.net email is sponsored by: Scholarships for Techies!

[Webware-discuss] Packages, modules and Webware/WebKit

2002-12-17 Thread Huy Do
Huy --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ We

RE: [Webware-discuss] DBPool (was RE: Caching GET requests in Webware)

2002-11-19 Thread Huy Do
Sorry Again, I found the problem. Forgot to call commit in one place. Thanks Again Huy --- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server

[Webware-discuss] DBPool (was RE: Caching GET requests in Webware)

2002-11-18 Thread Huy Do
ht on this for me. Thanks Huy > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On > Behalf Of Huy Do > Sent: Tuesday, 19 November 2002 5:14 PM > To: 'webware-discuss' > Subject: [Webware-discuss] Caching GET requests in Webware &

[Webware-discuss] Caching GET requests in Webware

2002-11-18 Thread Huy Do
m I bugging the wrong people. Many Thanks Huy --- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate:

Re: [Webware-discuss] Location of database pool, broker?

2002-11-11 Thread Huy Do
ate. Hope that helps. Huy Is it bad to have a database connection sitting within a servlet's *class* attribute, or as a module variable within that servlet's .py file? If I've got an orb (broker) handing out objects to various servlets, where should that orb be created? In a modul

[Webware-discuss] Contexts and Importing Modules

2002-10-29 Thread Huy Do
module is on the global search path i.e sys.path. I read through the mail archives and it seems people having been having similar problems that i'm seeing here but I could not find an answer to it. Thanks Huy --- This sf.net email is s

[Webware-discuss] Is there a default Page action ?

2002-10-10 Thread Huy Do
Hi, I was just wondering if there is a way to set a default action if no action was specified. Many Thanks Huy --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf

[Webware-discuss] Webware Performance vs mod_python publisher handler

2002-03-25 Thread Huy Do
s/sec, 261609 bytes/sec FYI I am caching my db connection in my webware servlet like this: if self.__dbconn == None: self.__dbconn = psycopg.connect... Does this really cache the connection ? Thanks Huy

RE: [Webware-discuss] Minimal object-relational mapper...?

2002-03-20 Thread Huy Do
Hi, Just wondering if you guys have seen Torque from the Jakarta Turbine project. It seems very complete. How does middle kit compare to this project ? Thanks Huy > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Steve > Waterbury >

[Webware-discuss] Can Webware really Handle it ?

2002-03-18 Thread Huy Do
administration. Performance, reliability and robustness is a major issue in our project. I say this because our current application (which is being rewritten) offers the last two but not the first. Webware needs to be able to provide a platform which can satisfy these requirements. Kind Regards, Huy

[Webware-discuss] MiddleKit and Primary Keys

2002-02-26 Thread Huy Do
Hi All, Is it possible to specify my own primary keys instead of getting MiddleKit to autogenerate object ids for each of my tables ? I really don't want object id's in my tables. Thanks Huy ___ Webware-discuss mailing list [EMAIL PROTEC

RE: [Webware-discuss] MiddleKit Question

2002-01-30 Thread Huy Do
mpany'] = self._mk_store.fetchObjRef(self._company) 32 return self._company Line 30 should read (notice the "is not None") 30 if self._company is None and type(self._company) is not InstanceType: Is anyone else seeing this ? Thanks Huy > -Original Message- &

[Webware-discuss] MiddleKit Question

2002-01-30 Thread Huy Do
mployees emp.company().name() ------ Many Thanks Huy ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss