Re: [PHP] PHP vs JAVA

2013-08-20 Thread Larry Garfield
marketshare is huge, even in enterprise. --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how old is this version of PHP?

2013-08-19 Thread Larry Garfield
a disservice by allowing them to run such an ancient and unsupported version. --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how old is this version of PHP?

2013-08-19 Thread Larry Garfield
a security hole. But those are very few and far between. --Larry Garfield On 8/19/13 7:25 AM, Jeff Burcher wrote: I apologize if this is off topic, but this raises a question for me. Why can't new versions be backwards compatible? Is it really that difficult to accomplish? This has been a complaint

Re: [PHP] POST action

2013-08-01 Thread Larry Garfield
On 7/29/13 3:02 PM, Paul M Foster wrote: On Mon, Jul 29, 2013 at 11:50:01AM -0500, Larry Garfield wrote: On 7/28/13 9:23 PM, Paul M Foster wrote: On Sun, Jul 28, 2013 at 08:46:06PM -0500, Larry Garfield wrote: [snip] Except as noted above. This is all home-grown, using native PHP

Re: [PHP] POST action

2013-07-29 Thread Larry Garfield
On 7/28/13 9:23 PM, Paul M Foster wrote: On Sun, Jul 28, 2013 at 08:46:06PM -0500, Larry Garfield wrote: On 07/28/2013 12:38 PM, Ashley Sheridan wrote: On Sun, 2013-07-28 at 13:37 -0400, Jim Giner wrote: Never write your own form? I'm guilty - oh, so guilty. What exactly is a 'security

Re: [PHP] POST action

2013-07-28 Thread Larry Garfield
there that have been security hardened. --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] POST action

2013-07-28 Thread Larry Garfield
for real work is a generally good approach to many things in programming. --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Split/Group date together.

2013-07-18 Thread Larry Garfield
If I understand you correctly, I call what you're trying to do PHP group by, and did a write up on it a few years back: http://www.garfieldtech.com/blog/php-group-by-with-arrays --Larry Garfield On 7/18/13 8:43 AM, Karl-Arne Gjersøyen wrote: Hello again. In my program I have this: mysql

Re: [PHP] json stream filter

2013-06-22 Thread Larry Garfield
), I am not sure what the benefit is of what you're describing. (And I'm not sure you could do that, although it would be neato if you could.) --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-16 Thread Larry Garfield
data store with one that is used just for testing. Etc. That's what interfaces give you. Loose coupling, and the ability to divide-and-conquer... and even let someone else solve problems for you. :-) --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: [PHP-DEV] feature request : easy shared memory

2013-03-17 Thread Larry Garfield
doing something stateful like Web Sockets, then you can run PHP as a cli application that is its own persistent server rather than as an Apache add-on. For that, look at Ratchet: http://socketo.me/ --Larry Garfield If PHP should be so restrictive against sharing, why are there extensions like

Re: [PHP] UNLESS Statement Equivalent

2013-03-11 Thread Larry Garfield
. --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] static Logging class?

2013-03-03 Thread Larry Garfield
that fancy and all injected and shit! If it's a simple project, use a simple container to do all the hard work for you: https://packagist.org/packages/pimple/pimple (That's 100 lines of executable code. Quite powerful, dead simple to use.) Cheers. --Larry Garfield, FIG member On 03/03

Re: [PHP] Lucene library

2012-12-13 Thread Larry Garfield
Ah ha. Did that ever get ported to Zend 2? --Larry Garfield On 12/12/12 12:07 AM, Louis Huppenbauer wrote: There's Zend_Search_Lucene, part of the Zend framework. I think it should be possible to use it without the whole framework though. http://framework.zend.com/manual/1.12/de

[PHP] Lucene library

2012-12-11 Thread Larry Garfield
maintained. I may have a use for it if it still exists. --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Lucene library

2012-12-11 Thread Larry Garfield
Yes, I've worked with Apache Solr quite a bit. It's a separate server, however, and I'm looking for something with smaller requirements for a concept I want to try. I'd consider SQLite, but I really need something schema-free and PHP-native/easily-installable. --Larry Garfield On 12/11/2012

Re: [PHP] Multithreading for OOP PHP

2012-10-31 Thread Larry Garfield
, so now what do I do? Each PHP process could be in its own CPU core, CPU, server, or server cluster, and the code doesn't change in the slightest. The shared nothing architecture is a very deliberate design decision, and is in a large part responsible for PHP's success. --Larry Garfield

Re: [PHP] foreach

2012-10-17 Thread Larry Garfield
On 10/17/12 10:17 AM, Matijn Woudt wrote: On Wed, Oct 17, 2012 at 1:25 AM, Larry Garfield la...@garfieldtech.com wrote: For the love of god, please stop using ext/mysql (aka the mysql_* functions). It's insecure and slow and lacks features. Instead, use PDO, and bind your parameters

Re: [PHP] foreach

2012-10-16 Thread Larry Garfield
-based query is not a raw resource but an iteratable object, which means you can foreach() it. http://php.net/manual/en/book.pdo.php $conn = new PDO(...); $result = $conn-query(SELECT * FROM items); foreach ($result as $record) { // Do something with each record here. } --Larry Garfield -- PHP

Re: [PHP] The end of mysql

2012-09-09 Thread Larry Garfield
Then get a new host. A host that disables PDO these days is a host that deserves to go bankrupt. ext/mysql has been dead for years now. --Larry Garfield On 09/08/2012 08:54 AM, Jim Giner wrote: Nope. No PDO as yet either jg On Sep 7, 2012, at 11:22 PM, Adam Richardson simples...@gmail.com

Re: [PHP] The end of mysql

2012-09-09 Thread Larry Garfield
. --Larry Garfield On 09/09/2012 04:49 PM, Larry Garfield wrote: Then get a new host. A host that disables PDO these days is a host that deserves to go bankrupt. ext/mysql has been dead for years now. --Larry Garfield On 09/08/2012 08:54 AM, Jim Giner wrote: Nope. No PDO as yet either jg -- PHP

Re: [PHP] OT (maybe not): Drupal vs WordPress

2012-08-28 Thread Larry Garfield
Only semi-joking line that's been making the rounds lately: If you want to build a blog, use Wordpress. If you want to build Wordpress, use Drupal. If you want to build Drupal, use Symfony2. There is much wisdom in those lines. --Larry Garfield, an openly biased Drupal core developer On 8/19

Re: [PHP] OT (maybe not): Drupal vs WordPress

2012-08-28 Thread Larry Garfield
security process is substantially similar, and also follows security best practices: http://drupal.org/security-team --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's the best way to make a dynamic plugin architecture?

2012-08-27 Thread Larry Garfield
your situation to the plugin you need. If it's fairly hard-coded (i.e., mime type of foo = class Bar), then just use a simple dependency injection container like Pimple. If it's more complex and situational, then yes a factory is the easiest approach. --Larry Garfield -- PHP General Mailing

Re: [PHP] What's the best way to make a dynamic plugin architecture?

2012-08-27 Thread Larry Garfield
has one as well. I believe there's one in PHP by default now called SPLClassLoader or something like that.. - Matijn There was a proposal for one, but it was never added. You still need a user-space class loader for PSR-0, but they're readily available. --Larry Garfield -- PHP General

Re: [PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-23 Thread Larry Garfield
that don't like being disrupted is not a proper use of governmental power. I'm quite happy to see PHP.net joining in with other defense-of-freedom voices. --Larry Garfield On 7/21/12 1:56 PM, With No Name wrote: On Fri, July 20, 2012 10:04, Lester Caine wrote: In Europe VAT is applied even

Re: [PHP] Re: php batch/queue framwork

2012-06-30 Thread Larry Garfield
a database for new tasks. You could write such a system -- Drupal comes with one as a default implementation since then you don't need a separate queueing program, for instance -- but it will always be greatly inferior to a real daemonized queue server. --Larry Garfield -- PHP General Mailing

Re: [PHP] code deployment through php

2012-05-01 Thread Larry Garfield
battle between Git and SVN, I do strongly recommend you look into it. This is an excellent resource for why to use it and how to use it: http://progit.org/book If you're serious about development, get serious about version control. --Larry Garfield -- PHP General Mailing List (http

Re: [PHP] To ? or not to ?

2012-04-05 Thread Larry Garfield
-commital by design, but outside of those I think it's pretty well-established to just leave it off and be happy. --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Arrays: Comma at end?

2012-02-08 Thread Larry Garfield
! Micky Drupal's coding standards encourage the extra trailing comma on multi-line arrays, for all the readability and editability benefits that others have mentioned. We have for years. Cool stuff. :-) --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] news and article posts in one table

2011-11-27 Thread Larry Garfield
. With a LEFT JOIN, you can even get back all data on all articles of both types, and just have lost of nulls in the result set for the off-record fields. --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP exercises

2011-11-25 Thread Larry Garfield
://phpexercises.com/), but it of course went offline the day after I found it. Fail! Can anyone recommend other sources for tutorial-based or exercise-based PHP learning? Paid is OK if it's not too expensive and it's worth the money, although free is always preferred. TIA and all that. --Larry

Re: [PHP] Headers already sent

2011-11-10 Thread Larry Garfield
Perhaps your server is configured to have output buffering enabled by default? Check php.ini / phpinfo(). --Larry Garfield On 11/11/2011 12:12 AM, Kranthi Krishna wrote: Hi all, I am missing something pretty obvious here. The PHP Manual says Remember that header() must be called before any

[PHP] Books on PHP guts

2011-08-30 Thread Larry Garfield
. Are there any good books on the subject that would be of help? I'm familiar with Sara Goleman's book[1], which has generally good reviews, but it's several years old now and I'm not sure if there's anything newer that covers PHP developments since the 5.0 days. Any suggestions? --Larry Garfield

Re: [PHP] Class and interface location

2011-01-19 Thread Larry Garfield
On Wednesday, January 19, 2011 8:56:50 pm Tommy Pham wrote: And actually, thinking about it, I wonder if requiring the explicit declaration is a good thing anyway because then it's immediately obvious and greppable what the class does. :-) --Larry Garfield You mean requiring

[PHP] Class and interface location

2011-01-18 Thread Larry Garfield
figure it out. I wish. :-) Can anyone suggest a better alternative? At the moment option 3 seems like the most viable approach, but I'm not wild about the implied performance impact nor the potentially redundant interface definitions it would require. --Larry Garfield -- PHP General Mailing

Re: [PHP] Closure and $this

2011-01-12 Thread Larry Garfield
happen but I'm not sure what its implementation status is at present. I believe this is the relevant RFC: http://wiki.php.net/rfc/closures/object-extension --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Command line PHP

2011-01-07 Thread Larry Garfield
and robust built on top of it that I could leverage rather than rolling my own one-off. Of course, I got lost somewhere in the language holy wars (dear god, people...) so I'll probably just take the roll my own approach. --Larry Garfield -- PHP General Mailing List (http://www.php.net

Re: [PHP] Newbie Question

2011-01-02 Thread Larry Garfield
source, but I really find dreamweaver easier to use so far. I bounce between NetBeans and Eclipse, depending on which currently sucks less. I have yet to find a PHP IDE that doesn't suck; it's just degrees of suckage. :-) --Larry Garfield -- PHP General Mailing List (http://www.php.net

Re: [PHP] PDO: good, popular?

2010-12-14 Thread Larry Garfield
quite unfortunate, but I still consider PDO an overall win. If anyone knows C and wants to make a name for themselves in the PHP world, PDO is looking for some heroes. :-) --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ORM doctrine

2010-12-09 Thread Larry Garfield
they are architecturally not something you want to build your entire system on. See: http://www.garfieldtech.com/blog/orm-vs-query-builders http://blogs.tedneward.com/2006/06/26/The+Vietnam+Of+Computer+Science.aspx --Larry Garfield -- PHP General Mailing List (http://www.php.net

[PHP] Disk IO performance

2010-11-28 Thread Larry Garfield
if it matters) file caching works in 2010, not in 1998. Modernizing what everyone knows is important for the general community, and the quality of our code. --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CMS plugin support

2010-10-22 Thread Larry Garfield
that virtually all of my web work these days uses Drupal. AFAIK there is no cross-CMS plugin system in PHP, and given how architecturally different various systems are I don't know that one would even be possible. --Larry Garfield -- PHP General Mailing List (http://www.php.net

Re: [PHP] the state of the PHP community

2010-07-29 Thread Larry Garfield
to DrupalCon Copenhagen next month if you want such details. :-) --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] the state of the PHP community

2010-07-29 Thread Larry Garfield
working on that is using the amorphous, ill-defined beast known as RDF. :-) --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CakePHP, alternatives?

2010-06-05 Thread Larry Garfield
in PHP at the time, but it made me even better.) --Larry Garfield On Saturday 05 June 2010 12:51:47 am Shreyas wrote: @ All - Points duly noted. Thanks for all the mighty advice. As the owner of the thread, I consider the thread closed for now unless anyone has anything to add. --Shreyas

Re: [PHP] iCal parsing and processing

2010-05-25 Thread Larry Garfield
Hm. Thanks, but it looks like that's all in Python. I'm not a parcel tongue so that wouldn't be much use to me in a PHP app. :-) Thanks though. --Larry Garfield On Tuesday 25 May 2010 06:43:30 pm Jason Pruim wrote: Hi Larry, Take a look at: http://trac.calendarserver.org/ It's Apple's

Re: [PHP] class attributes and __construct

2010-04-15 Thread Larry Garfield
, but it works. :-) --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Constructor usage

2010-04-04 Thread Larry Garfield
, and was it worth it? --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Constructor usage

2010-04-04 Thread Larry Garfield
and with the proper dependencies. The programmer's job is made much simpler. Paul Sounds overly complicated, but whatever works. :-) In my experience so far I find that a well-designed factory is sufficient, but it may not be in larger or more involved OO frameworks than I've used to date. --Larry

Re: [PHP] Will PHP ever grow up and have threading?

2010-03-22 Thread Larry Garfield
Perhaps if you asked a question you'd get an answer rather than coming off as an angry immature crybaby in your last paragraph... No, I'm not going to dignify your post with a real answer. Come back when you can ask a real question and maybe you'll get a real answer. --Larry Garfield

[PHP] Code samples in OOo Presenter

2010-03-21 Thread Larry Garfield
this and highlight it properly, but I don't know if such a plugin exists. I could be talked into using KPresenter / KOffice instead if that would be easier, but as I am on Linux I have no access to KeyNote or PowerPoint. Any suggestions? --Larry Garfield -- PHP General Mailing List (http

Re: [PHP] Code samples in OOo Presenter

2010-03-21 Thread Larry Garfield
if such a plugin exists. I could be talked into using KPresenter / KOffice instead if that would be easier, but as I am on Linux I have no access to KeyNote or PowerPoint. Any suggestions? --Larry Garfield Could you use highlight_string() on the code example in a web page then copy that from

[PHP] Memory investigation

2010-03-02 Thread Larry Garfield
how to do that. Anyone have a suggestion for how to accomplish that? --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] array conversion

2010-02-18 Thread Larry Garfield
% 2][] = $value; } $done = array_combine($temp[0], $temp[1]); (Also untested, just off the cuff...) --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SQL insert () values (),(),(); how to get auto_increments properly?

2010-02-14 Thread Larry Garfield
side effects and trade offs here, though, so take with a grain of salt. --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Open Source CMS

2010-01-21 Thread Larry Garfield
-6-module-development/book Disclaimer: The author used to work with me, and I'm a Drupal core developer so I am admittedly biased. :-) --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] If design patterns are not supposed to produce reusable code then why use them?

2010-01-01 Thread Larry Garfield
patterns. :-) But both are, in practice, using them, even if some are doing so badly (either over- or under-using them). --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] If design patterns are not supposed to produce reusable code then why use them?

2009-12-31 Thread Larry Garfield
Meant to send this to the list, sorry. -- Forwarded Message -- Subject: Re: [PHP] If design patterns are not supposed to produce reusable code then why use them? Date: Thursday 31 December 2009 From: Larry Garfield la...@garfieldtech.com To: Tony Marston t...@marston

Re: [PHP] Multiple Inheritance Needed in OOP?

2009-12-28 Thread Larry Garfield
from Christmas day. There's been some discussion of implementing traits in later versions of PHP, but no concrete patches so far. -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Accessing Objects - Object to Object Communication

2009-12-26 Thread Larry Garfield
be singletons themselves, but don't have to be. And in either case, Page() now doesn't know or care so you can change your mind without affecting Page. Page is now loosely coupled, and all is right with the world. -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http

Re: [PHP] Multiple Inheritance Concern

2009-12-25 Thread Larry Garfield
as They're Doing It Wrong(tm). -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OOP Design Question

2009-12-20 Thread Larry Garfield
a break-even as far as performance goes, but the mega class is much poorer architecture. -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] efficiency of include()

2009-12-20 Thread Larry Garfield
that file and keep the opcode caches in memory, so it needn't hit disk again. I've not checked into that part of the engine, though, so I may be wrong there. -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] OOP Design Question

2009-12-20 Thread Larry Garfield
callbacks to an absolute minimum. (A DB hit per autoload, for instance, is a no-no.) Beyond that, varies with your project. -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Classes and Functions

2009-11-01 Thread Larry Garfield
/get_declared_interfaces http://www.php.net/get_included_files -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php exception handling

2009-10-11 Thread Larry Garfield
to the appropriate catch and never returns. try { // Do normal stuff. if (!$valid) { throw new Exception('OMG!'); } // Do more normal stuff. } catch (Exception $e) { // Print user friendly message. // Log detailed information or whatever you're going to do. } -- Larry Garfield la

Re: [PHP] PHP programming strategy

2009-08-02 Thread Larry Garfield
repeatedly, which is a few orders of magnitude slower than system memory. Compressors and aggregators there make sense. PHP code never leaves the server, so those benefits don't exist.) -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] PHP programming strategy

2009-08-01 Thread Larry Garfield
sampling jitter. I actually concluded that if cutting the file *in half* was only just barely noticeable, then it really wasn't worth the effort. Just install an opcode cache. That will take care of most of your memory issues. :-) -- Larry Garfield la...@garfieldtech.com -- PHP General

Re: [PHP] php applications

2009-06-08 Thread Larry Garfield
that quote elsewhere (credited if you prefer)? -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Web application design considerations - a good reference ?

2009-06-01 Thread Larry Garfield
down the principles and gives some suggestions for integrating the many subroutines of a large application? I want to make the code readable and logical in its flow, and avoid repetition of code segments. Much appreciated. Angus -- Larry Garfield la...@garfieldtech.com -- PHP General

Re: [PHP] Re: PHP6 return by reference deprecation

2009-05-02 Thread Larry Garfield
by reference besides making PHP 4 objects behave correctly. -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP6 return by reference deprecation

2009-05-02 Thread Larry Garfield
On Saturday 02 May 2009 3:20:24 pm Colin Guthrie wrote: 'Twas brillig, and Larry Garfield at 02/05/09 20:00 did gyre and gimble: On Saturday 02 May 2009 9:30:09 am Colin Guthrie wrote: 'Twas brillig, and Paul M Foster at 02/05/09 06:07 did gyre and gimble: If this is going away, how do you

[PHP] Too many open files

2009-04-05 Thread Larry Garfield
to respond? Cheers. -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP includes

2009-03-09 Thread Larry Garfield
tight. But don't rely on security through obscurity. -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP OOP

2009-02-09 Thread Larry Garfield
procedural and OOP in the same syntax. Then once they've gotten a few bruises in C++, expose them to Java, Javascript, PHP, etc. to let them see what higher level work actually gets done in these days. -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] DB Comparisons

2009-02-05 Thread Larry Garfield
server, but a well-tuned PostgreSQL server will wipe the floor with a badly configured mySQL database. Your knowledge of the underlying tool and how to get the most out of it will matter more than which vendor you go with, unless there are very specific features you require. --Larry Garfield

Re: [PHP] PHP Enclosing Tags? Do You Close Your PHP Declarations?

2009-02-02 Thread Larry Garfield
of problems with whitespace handling and is just one less thing to have to deal with. http://drupal.org/coding-standards --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Content Management

2009-01-29 Thread Larry Garfield
inclined. For e-commerce, check out the Ubercart suite of modules: http://drupal.org/project/ubercart Disclaimer: I am a Drupal core developer and build sites with it professionally, so I am hardly an unbiased source. :-) -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http

[PHP] Doc standard for methods?

2009-01-26 Thread Larry Garfield
? Is there a standard in PHPDoc that I don't know about? Any other projects doing something like that? -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] old HTTP variables

2009-01-18 Thread Larry Garfield
take the time to upgrade the app anyway, as those variables are deprecated and won't be around forever. -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Thank you everyone, What a wonderful world

2009-01-03 Thread Larry Garfield
On Saturday 03 January 2009 1:17:07 pm Dotan Cohen wrote: 2009/1/3 Behzad behzad.esl...@gmail.com: since you have modern weapons, equipped with lasers! Did somebody say sharks with frigin' lasers? No, but we have some ill-tempered sea-bass. -- Larry Garfield la...@garfieldtech.com

Re: [PHP] Re: Problem with fetching values...

2008-12-29 Thread Larry Garfield
to not support it. You can try contacting them first to ask them to enable it, and if they say no, you say go away. Really, that's simply irresponsible on their part. -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Decorator with public methods

2008-12-27 Thread Larry Garfield
delegating methods in the base decorator class and then only using __call() for nested decorators, which will be a much much smaller portion of the time. It's the performance cost of __call() and the extra call stack layers that are my concern at the moment. -- Larry Garfield la

Re: [PHP] Architecture patterns in PHP

2008-12-27 Thread Larry Garfield
, too, and it was generally a disaster.) [1] http://www.garfieldtech.com/blog/mvc-vs-pac [2] http://en.wikipedia.org/wiki/Gang_of_Four_(software) -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Decorator with public methods

2008-12-26 Thread Larry Garfield
directly implementing F *and* implementing __call(), but we're still left with the performance problems of #2. While for some uses cases that is OK, it can add up to unpleasant microseconds lost. Can anyone suggest an alternate solution that has less of a performance hit? -- Larry Garfield la

Re: [PHP] Do defined variables exist at application scope, or session scope?

2008-12-26 Thread Larry Garfield
?), so the constant is not defined. Does that make sense? -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Decorator with public methods

2008-12-26 Thread Larry Garfield
code. -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MERRY XMAS

2008-12-24 Thread Larry Garfield
() .', '. $subscriber-name() .'!'. PHP_EOL; } } -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Replacing special characters with their HTML equivalents

2008-12-21 Thread Larry Garfield
-8-vs-16 -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Managed VPS recommendations

2008-11-10 Thread Larry Garfield
On Mon, 10 Nov 2008 09:54:21 -0500, Robert Cummings [EMAIL PROTECTED] wrote: On Mon, 2008-11-10 at 14:26 +0100, Jochem Maas wrote: Larry Garfield schreef: ... I believe that guy Dan Brown might have something up your alley, although he might fall over on the 'douchebag' requirement

Re: [PHP] Managed VPS recommendations

2008-11-10 Thread Larry Garfield
On Mon, 10 Nov 2008 11:30:01 -0500, Daniel P. Brown [EMAIL PROTECTED] wrote: On Mon, Nov 10, 2008 at 11:09 AM, Larry Garfield [EMAIL PROTECTED] wrote: So that's a couple of votes for individual people. What company do they work for? :-) We're not looking for a guy, we're looking for a firm

[PHP] Managed VPS recommendations

2008-11-09 Thread Larry Garfield
EC2 and Jaguar VPS as possibilities, but I'd like to get broader input if possible. Thanks all! -- Larry Garfield [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] basic php question...

2008-11-04 Thread Larry Garfield
you still need to make sure your site works sans-JS if you want Google to grok it. -- Larry Garfield [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Replacing with f*ck and f*cking

2008-10-26 Thread Larry Garfield
, or any number of other things) and then just cache the result. The cache lookup (based on a hash of the string being filtered and the ID of the filter set to apply) is far faster than reapplying the filters every time. We've found this mechanism to scale very well. -- Larry Garfield [EMAIL

Re: [PHP] PHP Dev Facts

2008-10-17 Thread Larry Garfield
messy! Many Regards Nathan -- Larry Garfield [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: php framework vs just php?

2008-10-07 Thread Larry Garfield
results with much less effort when using a good framework than when writing from scratch. --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Drupal 6

2008-10-06 Thread Larry Garfield
we do this with Drupal? because we are already confident that the answer to the first question is Yes we can. (Obama reference not intentional.) -- Larry Garfield [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: db_* = pg_*/my_*/ifx_* ?

2008-10-06 Thread Larry Garfield
to do such a thing well, especially WHERE clauses and the excitement that are Merge queries. Tip: A simple array is NOT sufficient for all of what WHERE can do.) -- Larry Garfield [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Manual Coding vs. CMS Systems

2008-08-28 Thread Larry Garfield
on this. Sorry for being a bit off topic here as this is not 100% coding related, but I _had_ to get some feedback to backup my position ;o) Cheers! Chris -- Larry Garfield [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   4   5   >