Re: [nyphp-talk] Trying to decide between MDB2 and PHP PDO

2009-06-25 Thread Patrick May
eve high speed cached recordsets (cached for 3600 secs) # Cache directory defined in global $ADODB_CACHE_DIR. # CacheGetOne, CacheRow, CacheGetAll all work $rs = $DB->CacheExecute(3600, "select orgname from users where user='JOHN'"); On Thu, Jun 25, 2009 at 8:57 PM, Patric

Re: [nyphp-talk] Trying to decide between MDB2 and PHP PDO

2009-06-25 Thread Patrick May
{ > die($res->getMessage()); > } > > $values = array(); > $values = array('Kevin',$key); > > $time_start1 = getmicrotime(); > $affectedRows =& $sth2->execute($values); > $arrCnt['updat

Re: [nyphp-talk] PHP Bcc Headers

2008-08-04 Thread Patrick May
other potential bugs, post the code > to this list for review, etc. > ___ > New York PHP Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > NYPHPCon 2006 Presentations Online > http://www.nyphpcon.com > &g

Re: [nyphp-talk] PHP caching (not opcode)

2008-07-21 Thread Patrick May
<[EMAIL PROTECTED]> wrote: > Patrick May wrote: > >> >> I know this could be done with: >> >> system('find /cache | grep article | xargs rm -f'); >> >> and I do question what's wrong with such a simple line of code :D >> >&

Re: [nyphp-talk] PHP caching (not opcode)

2008-07-21 Thread Patrick May
lifing the process of describing something that is cached, I hope to have widespread 'perfect' caching. I've got the code written for another project, just need to fiddle with the namespaces and release it. Thanks for the help thinking through the idea. Cheers, Patrick --

Re: [nyphp-talk] PHP caching (not opcode)

2008-07-18 Thread Patrick May
sound like there is some interest. I'll get something released, and we can see if it is useful. Thanks for all the feedback! Cheers, Patrick -- Patrick May 135 Oak Street New York, NY 11222 +1 (347) 232-5208 [EMAIL PROTECTED] http://www.hexane.org

Re: [nyphp-talk] PHP caching (not opcode)

2008-07-18 Thread Patrick May
way, then they give up on improving the quality of site content. Cheers, Patrick On Fri, Jul 18, 2008 at 11:54 AM, bzcoder <[EMAIL PROTECTED]> wrote: > Patrick May wrote: > >> Hello, >> >> I'm working on a PHP cache library, and I wanted to check in and see w

Re: [nyphp-talk] PHP caching (not opcode)

2008-07-18 Thread Patrick May
ce the 'event' is the deleting of a file. But it can get annoying making sure each event has the right file deletions. So then I started working on the tag / events idea, to make it easier to create the association. Cheers, Patrick -- Patrick May 135 Oak Street New York, NY 1

Re: [nyphp-talk] PHP caching (not opcode)

2008-07-18 Thread Patrick May
wo have the same effectiveness, then I'd rather cache the result set because that extends the per-box capacity. If my application is failing to meet performance expectations, I like to have on hand some caching tools to see if I can rescue it. And that would be the purpose of this library. Che

[nyphp-talk] PHP caching (not opcode)

2008-07-17 Thread Patrick May
to create this association, and to break caches. It works something like this: Does this sound similar to any existing library / tool, either for PHP or for any other platform? Does this sound like a useful library? Thanks for your feedback! Cheers, Patrick -- Patrick May 135 Oak Stre

Re: [nyphp-talk] Returning users from whiniest they came

2008-07-11 Thread Patrick May
ne > http://www.nyphpcon.com > > Show Your Participation in New York PHP > http://www.nyphp.org/show_participation.php > -- Patrick May 135 Oak Street New York, NY 11222 +1 (347) 232-5208 [EMAIL PROTECTED] http://www.hexane.org ___ New

Re: [nyphp-talk] Returning users from whiniest they came

2008-07-09 Thread Patrick May
; NYPHPCon 2006 Presentations Online > http://www.nyphpcon.com > > Show Your Participation in New York PHP > http://www.nyphp.org/show_participation.php > -- Patrick May 135 Oak Street New York, NY 11222 +1 (347) 232-5208 [EMAIL PROTECTED] http://www.hexane.org __

Re: [nyphp-talk] mysql slow Internet connection trickery

2008-06-30 Thread Patrick May
etwork connectivity to the primary mysql server, how can one use transactions to manage synchronization? Cheers, Patrick -- Patrick May 135 Oak Street New York, NY 11222 +1 (347) 232-5208 [EMAIL PROTECTED] http://www.hexane.org ___ New York PHP Community Talk M

Re: [nyphp-talk] mysql slow Internet connection trickery

2008-06-30 Thread Patrick May
I guess you're concerned that flat files won't give you enough complexity to represent the business. ~ p -- Patrick May 135 Oak Street New York, NY 11222 +1 (347) 232-5208 [EMAIL PROTECTED] http://www.hexane.org ___ New York PHP Communit

Re: [nyphp-talk] mysql slow Internet connection trickery

2008-06-30 Thread Patrick May
ose at all yet; sounds like a possibility. > > Thanks, > Allen > > -- > Allen Shaw > slidePresenter (http://slides.sourceforge.net) > > ___ > New York PHP Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > NYPHPC

Re: [nyphp-talk] mysql slow Internet connection trickery

2008-06-30 Thread Patrick May
- Allen > > -- > Allen Shaw > slidePresenter (http://slides.sourceforge.net) > > ___________ > New York PHP Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > NYPHPCon 2006 Presentations Online > htt

Re: [nyphp-talk] Do you use Pretty URLs

2007-12-12 Thread Patrick May
After re-reading the first post, I agree that Horde routes looks like a great agnostic router. ~ Patrick On 12/12/07, Patrick May <[EMAIL PROTECTED]> wrote: > On 12/12/07, inforequest <[EMAIL PROTECTED]> wrote: > > At this point I'm all in favor of a neutral bolt-on rew

Re: [nyphp-talk] Do you use Pretty URLs

2007-12-12 Thread Patrick May
On 12/12/07, inforequest <[EMAIL PROTECTED]> wrote: > At this point I'm all in favor of a neutral bolt-on rewrite router. I'm using an agnostic router class: http://hexane.org/releases/2007.12.12/class.pm_router.txt I tried to stick to the basics. Let me know if this is useful. Also let me k

Re: [nyphp-talk] Practical Extraction in PHP

2007-07-22 Thread Patrick May
try cacti (a php solution) or munin ~ patrick On Jul 16, 2007, at 9:37 AM, csnyder wrote: I've had this idea in the back of my head to do a project that systematically tracks values embedded in web or email reports. For instance, I get logwatch emails from the servers I admin, and each time o

Re: [nyphp-talk] Going rates:

2007-06-17 Thread Patrick May
It's listed in yearly salary, but still: http://www.labor.state.ny.us/workforceindustrydata/uiwages.shtm Cheers, Patrick On Jun 17, 2007, at 7:48 PM, Ben Sgro ((ProjectSkyline)) wrote: Hello All, Hope all the fathers are having a nice day today. Lately, I've been really getting into the

Re: [nyphp-talk] Removing Text from an Input Box

2007-06-06 Thread Patrick May
Now your passwords are screen-visible function clearField(id, value) { if (id.value == value) { id.value = ""; } } function restoreField(id, value) { if (id.value == "") { id.value = value; } } On Jun 6, 2007, at 8:44 PM, Ben Sgro ((ProjectSkyline)) wrote: Hello, T

Re: [nyphp-talk] A Form That Builds Itself

2007-06-06 Thread Patrick May
You don't actually need to use ajax and talk to the server, just some javascript DOM code to insert another input field. On Jun 6, 2007, at 8:28 PM, CED wrote: Asunchronous JAvascript that writes to a Div, and you run a loop intot hat div of form input elements incremented by each click.

Re: [nyphp-talk] PHP Marketing

2007-05-25 Thread Patrick May
http://www.cafepress.com/apperrorrails On May 24, 2007, at 9:24 PM, Jon Baer wrote: You can pick them up @ http://www.railsenvy.com I think it really depends on the job @ hand, an app running under new JRuby and a JVM under EC2 cluster is pretty impressive, but that's just me. I guess wha

Re: [nyphp-talk] Flexible Forms & How to store them...

2007-05-16 Thread Patrick May
Hello, On May 15, 2007, at 10:45 AM, Brian Dailey wrote: I have several large forms that I am putting together. I'm aiming to keep them flexible and make it fit within the database object schema that I have used so far in this particular program. In the past with a large form I've seen som