Re: [nyphp-talk] single quote vs. double quote

2007-04-04 Thread Anirudh Zala
On Thursday 05 April 2007 01:16, Kenneth Dombrowski wrote: > On 07-04-04 09:29 +0530, Anirudh Zala wrote: > > On Tuesday 03 April 2007 19:00, tedd wrote: > > > At 8:51 AM -0400 4/3/07, Ken Robinson wrote: > > > >At 08:43 AM 4/3/2007, tedd wrote: > > > >>I'm not sure if what you are saying includes

Re: [nyphp-talk] PHP Web Frameworks

2007-04-04 Thread Anirudh Zala
On Wednesday 04 April 2007 22:57, Hendre Louw wrote: > Hi > > > > What PHP web frameworks are out there? Does anybody know Symfony? > > > > Hendre http://www.phpit.net/article/ten-different-php-frameworks/ Although I would love to use my own, but as you have asked for publically available framew

Re: [nyphp-talk] single quote vs. double quote

2007-04-04 Thread Jiju Thomas Mathew
Wouldn't I rather do the following anyway? $logfile_name=$year."_".$month."_".$day."_logfile.txt"; I would never have gotten the idea to do this the way you described. Concatenation of the strings is IMHO way easier to comprehend, at least for me and maybe even for PHP. Hi David I would pre

Re: [nyphp-talk] PHP Web Frameworks

2007-04-04 Thread Nate Abele
Date: Wed, 4 Apr 2007 14:13:09 -0400 (EDT) From: Ajai Khattri <[EMAIL PROTECTED]> Subject: Re: [nyphp-talk] PHP Web Frameworks To: NYPHP Talk Message-ID: <[EMAIL PROTECTED]> Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 4 Apr 2007, Hendre Louw wrote: What PHP web frameworks are out there?

Re: [nyphp-talk] Loading array from file

2007-04-04 Thread csnyder
On 4/4/07, Graham Hagger <[EMAIL PROTECTED]> wrote: For their internationalization they had used separate include files for each language, with the correct one being included at runtime based on the users language. Each of the language files basically just built the same associative array but w

Re: [nyphp-talk] single quote vs. double quote

2007-04-04 Thread David Krings
Paul Houle wrote: David Krings wrote: Paul Houle wrote: (4) Make a habit of writing {$like_this} Can you elaborate on this? Me guessing of what you mean is probably not a good approach. Thanks in advance. There's a short form and long form of substitution in PHP. The short form is

Re: [nyphp-talk] single quote vs. double quote

2007-04-04 Thread Graham Hagger
While I agree wholeheartedly it's important to note that Paul Houle wrote: > > > gets the desired effect. The long form also lets you do cool things > with arrays and object, like > > "{$my_array[$index]}" > "{$my_array["i_can_really_use_quotes_to_have_a_string_here"]}" > "{$object->special

Re: [nyphp-talk] PHP Web Frameworks

2007-04-04 Thread Kenneth Downs
Hendre Louw wrote: Hi What PHP web frameworks are out there? Does anybody know Symfony? If you do complex databases, where complete integration of security, constraints and automations are very important, then you may want to check out our Andromeda framework, www.andromeda-project.org

Re: [nyphp-talk] single quote vs. double quote

2007-04-04 Thread Paul Houle
David Krings wrote: Paul Houle wrote: (4) Make a habit of writing {$like_this} Can you elaborate on this? Me guessing of what you mean is probably not a good approach. Thanks in advance. There's a short form and long form of substitution in PHP. The short form is $x="$y an example

RE: [nyphp-talk] PHP Web Frameworks

2007-04-04 Thread Sal Perconte
Try 'code igniter' -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ajai Khattri Sent: Wednesday, April 04, 2007 2:13 PM To: NYPHP Talk Subject: Re: [nyphp-talk] PHP Web Frameworks On Wed, 4 Apr 2007, Hendre Louw wrote: > What PHP web frameworks are out t

Re: [nyphp-talk] single quote vs. double quote

2007-04-04 Thread Kenneth Dombrowski
On 07-04-04 09:29 +0530, Anirudh Zala wrote: > On Tuesday 03 April 2007 19:00, tedd wrote: > > At 8:51 AM -0400 4/3/07, Ken Robinson wrote: > > >At 08:43 AM 4/3/2007, tedd wrote: > > >>I'm not sure if what you are saying includes this, but I use double > > >>quotes all the time in php for producing

Re: [nyphp-talk] PHP Web Frameworks

2007-04-04 Thread Ajai Khattri
On Wed, 4 Apr 2007, Hendre Louw wrote: > What PHP web frameworks are out there? Does anybody know Symfony? We're using Symfony for a major project. Yahoo Bookmarks is built on Symfony. Its pretty good (totally OOP and lots of Railsisms in it). Do you have any specific questions? -- Aj. ([EMA

[nyphp-talk] PHP Web Frameworks

2007-04-04 Thread Hendre Louw
Hi What PHP web frameworks are out there? Does anybody know Symfony? Hendre ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participa

[nyphp-talk] FW: PHP statistics for March 2007

2007-04-04 Thread Hans Zaunere
Some interesting stats for March... > PHP adoption statistics for March 2007 are released. > > * 5.2.1 growing fast > * PHP 5.2.0 leaving room for PHP 5.2.1 > * PHP 4.4.5/6 discreet > > As usual, lots of other details : PHP versions, Apache, country > details, etc. > Feel free to a

Re: [nyphp-talk] single quote vs. double quote

2007-04-04 Thread David Krings
Paul Houle wrote: (4) Make a habit of writing {$like_this} Can you elaborate on this? Me guessing of what you mean is probably not a good approach. Thanks in advance. David ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mail

Re: [nyphp-talk] single quote vs. double quote

2007-04-04 Thread csnyder
On 4/3/07, Paul Houle <[EMAIL PROTECTED]> wrote: Here are my rules for PHP. (1) Use ?>...some HTML... Nicely put. -- Chris Snyder http://chxo.com/ ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYP

Re: [nyphp-talk] Loading array from file

2007-04-04 Thread Graham Hagger
David, I recently had to do some work with our companies meeting room booking system, which was originally based on the open source PHP based MRBS project that's out there somewhere. For their internationalization they had used separate include files for each language, with the correct one being

Re: [nyphp-talk] Loading array from file

2007-04-04 Thread David Krings
Ben Sgro (ProjectSkyline) wrote: Hello, What about storing the result in a temp table? There is no SQL or database table involved. I don't see any good reason to keep static stuff like text strings in a database table. Also, since I do not know all languages (only two) others will find it

Re: [nyphp-talk] Loading array from file

2007-04-04 Thread Ben Sgro \(ProjectSkyline\)
Hello, I worked on a large PHP project, we used to have HUGH arrays (it would sometimes timeout the script) I can't remember..but they were slow...but more often, a particular SQL statement was even slower when we did performance related tuning..it was SQL we always had to fix. What about st

[nyphp-talk] Loading array from file

2007-04-04 Thread David Krings
Hi! Working on my internationalization project I am now ready to load the contents of a string file into an array and use the strings. Now, I have to ideas when to do this: a) run this on load of every page with output b) run it once on the start page and store the array in the session Does a