Re: [PHP] Beginner Tutorials for using CLASSES in PHP4

2007-10-09 Thread Guillaume Theoret
On 10/9/07, Tony Marston <[EMAIL PROTECTED]> wrote: > > ""Nathan Nobbe"" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > On 10/9/07, Tony Marston <[EMAIL PROTECTED]> wrote: > >> > >> > >> ""Nathan Nobbe"" <[EMAIL PROTECTED]> wrote in message > >> news:[EMAIL PROTECTED] > >> > On 1

Re: [PHP] Interesting Rails Vs. PHP article

2007-09-23 Thread Guillaume Theoret
That's actually a very good article and while I don't agree with some of it (most notably #6, the I love SQL.. I find a good ORM layer to be a life saver should you ever need to make database structure changes without having all your apps collapse all over themselves), I certainly agree with the ma

Re: [PHP] php personal project

2007-09-22 Thread Guillaume Theoret
* Disclaimer: The following may sound condescending (I hope not) but you said you're a newbie so I'll try to start with the very basics. For your database tables questions you basically want the tables to represent real life "things". For example, a player, a team, etc. So let's make a quick list

Re: [PHP] How to implement a plugin system?

2007-08-07 Thread Guillaume Theoret
A couple of months ago I asked pretty much the same question on this list because I was doing the same thing. This is how we implemented our system. For starters, we rolled our own MVC framework. It's pretty much a standard MVC framework, very rails inspired but much more lightweight than Cake and

Re: [PHP] PHP P O K E R...... and JAVA (convert)

2007-06-27 Thread Guillaume Theoret
This isn't exactly what was asked for but when I TA'd the principles of programming languages course, an assignment I gave was to write a simple poker game in Haskell. If anyone's interested here's the sample solution I gave: http://smokinn.tengun.net/comp348/poker.hs It's all console based of c

Re: [PHP] Interesting article about PHP security exploit by GIF files

2007-06-20 Thread Guillaume Theoret
Thanks for the link. I got worried for a second that my code could be exploited so I did a quick check to make sure that mime-types were correct. (I check the mime type to make sure it's an image, not the file extension.) I renamed a .jpg file .jpg.php and uploaded it and got application/x-php as

Re: [PHP] Php script diagnostic app?

2007-06-18 Thread Guillaume Theoret
Thanks a lot for that post Paul. It brings up a question though. You said to never ever use that on a production server (an important disclaimer!) so I was wondering what people here used to log and simulate loads. I've used OpenSTA ( http://opensta.org/ ) and I was pleased with the results but i

Re: [PHP] does this code look like it would check a file extensions, and disallow php files or exe files to be attached

2007-06-14 Thread Guillaume Theoret
On 6/14/07, dave peaachepea <[EMAIL PROTECTED]> wrote: storeFile(); } ?> I'm not a programmer, and I'm very new at php so im sure there are errors and stupid logic in my code. It would be greatly appreciated if anyone here could critique and rip apart my code. thank you, -dave Si

Re: [PHP] php / mysql performance resources

2007-06-13 Thread Guillaume Theoret
On 6/13/07, Daevid Vincent <[EMAIL PROTECTED]> wrote: I'll throw in my suggestion here as to how I implement this. Generally I evaluate how big are the tables and what do I intend to do with them. Sorting is usually a "problem". Using the PHP multi_sort seems cumbersome and never seems to be as

Re: [PHP] php / mysql performance resources

2007-06-13 Thread Guillaume Theoret
On 6/13/07, Richard Lynch <[EMAIL PROTECTED]> wrote: On Wed, June 13, 2007 12:31 pm, Guillaume Theoret wrote: > Thanks for the response. > > On 6/13/07, Robert Cummings <[EMAIL PROTECTED]> wrote: >> On Wed, 2007-06-13 at 10:36 -0400, Guillaume Theoret wrote: >

Re: [PHP] php / mysql performance resources

2007-06-13 Thread Guillaume Theoret
Thanks for the response. On 6/13/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Wed, 2007-06-13 at 10:36 -0400, Guillaume Theoret wrote: > Hi everyone, > > Can anyone recommend any good books/resources for php and mysql > performance management? I'm more int

[PHP] php / mysql performance resources

2007-06-13 Thread Guillaume Theoret
Hi everyone, Can anyone recommend any good books/resources for php and mysql performance management? I'm more interested in the software development side (as opposed to server configuration) of things. I'm looking for anything that would be good to know when working on websites that get millions

Re: [PHP] Resources for plugin based frameworks

2007-05-15 Thread Guillaume Theoret
ECTED]> wrote: Guillaume Theoret wrote: > This is mostly for anyone that could later read this thread, (probably > when searching) but I found an excellent article titled Developing a > Plugin Architecture for PHP Applications in the april 2006 issue of > the php|architect magazine. > &g

Re: [PHP] Resources for plugin based frameworks

2007-05-15 Thread Guillaume Theoret
n 5/14/07, Guillaume Theoret <[EMAIL PROTECTED]> wrote: > I'm about to start a project and I'm still in the architectural design > phase. It's going to be a content management system but for several > unrelated things such as website management, employee management or

[PHP] Resources for plugin based frameworks

2007-05-14 Thread Guillaume Theoret
Hi, I'm about to start a project and I'm still in the architectural design phase. It's going to be a content management system but for several unrelated things such as website management, employee management or project management. I plan on building a module based system where each part can be d