[PHP] opening link in new window

2010-07-22 Thread David Mehler
Hello, I've got a page with an external link. I'd like to open it in a new window, but i'm using the xhtml 1.0 strict dtd so this isn't possible. I was wondering if php could pull this off? Failing that, and not really wanting to go there, would javascript work for this? Thanks. Dave. -- PHP Gene

[PHP] Re: PHP database interface layer

2010-07-22 Thread Shawn McKenzie
On 07/22/2010 08:35 AM, Marc Guay wrote: > Hi everyone, > > I've built a fairly large normalized database schema for a project. > This is fun for me as I like thinking about how everything is > interconnected. Foreign keys are all set up, many-to-many tables are > go, etc, and so on. But now it

[PHP] SOAP ERROR - Encoding

2010-07-22 Thread Augusto Flavio
Hi guys, I created a simple wsdl web service. Everything works fine, but when I fill the fields with accents and send the soap request, the PHP returns me an error: *Fatal error*: Uncaught SoapFault exception: [Client] SOAP-ERROR: Encoding: string 'ol\xe1...' is not a valid utf-8 string in PATH

Re: [PHP] PHP database interface layer

2010-07-22 Thread Marc Guay
> Let me repeat myself: did you have a look at Doctrine2? Hi Peter, I didn't mean to ignore your suggestion, I just got extremely overwealmed by the Doctrine website and didn't even have a response. I get the impression that, like Zend and others, learning how to install and use that would take l

Re: [PHP] PHP database interface layer

2010-07-22 Thread Peter Lind
On 22 July 2010 21:14, Marc Guay wrote: >> i recommend propel >> http://www.propelorm.org/ > > Holy Moses that thing is a monster.  It requires installing extra > libraries (Phing) in order to create an XML schema reverse-engineered > from my existing database.  The code looks simple enough but th

Re: [PHP] PHP database interface layer

2010-07-22 Thread Nathan Nobbe
On Thu, Jul 22, 2010 at 1:14 PM, Marc Guay wrote: > > i recommend propel > > http://www.propelorm.org/ > > Holy Moses that thing is a monster. It requires installing extra > libraries (Phing) in order to create an XML schema reverse-engineered > from my existing database. The code looks simple

Re: [PHP] PHP database interface layer

2010-07-22 Thread Floyd Resler
On Jul 22, 2010, at 3:14 PM, Marc Guay wrote: >> i recommend propel >> http://www.propelorm.org/ > > Holy Moses that thing is a monster. It requires installing extra > libraries (Phing) in order to create an XML schema reverse-engineered > from my existing database. The code looks simple enoug

Re: [PHP] PHP database interface layer

2010-07-22 Thread Marc Guay
> i recommend propel > http://www.propelorm.org/ Holy Moses that thing is a monster. It requires installing extra libraries (Phing) in order to create an XML schema reverse-engineered from my existing database. The code looks simple enough but that installation is brutal. Any other suggestions?

Re: [PHP] Does class length slow down performance

2010-07-22 Thread David Harkness
On Thu, Jul 22, 2010 at 2:40 AM, Ashley Sheridan wrote: > The larger a script or class is, the more memory this uses per instance. > This is not quite true. When the script is loaded, it requires a fixed amount of memory to parse it. The larger it is, the more memory it requires. Next, the script

Re: [PHP] Does class length slow down performance

2010-07-22 Thread Sebastian Ewert
> No, I don't think there will be problems. I also think the only way > you'll ever find out whether it *will* be a problem in your system is > by testing. I've started some benchmarks with apachebench but the problem is I don't have any benchmarks to compare with. And so I started looking for som

RE: [PHP] Does class length slow down performance

2010-07-22 Thread Jay Blanchard
[snip] > So you think that a length of 850 lines won't lead to a performance > problem? No, I don't think there will be problems. I also think the only way you'll ever find out whether it *will* be a problem in your system is by testing. [/snip] ^this to the max [snip] > The site is not online y

[PHP] session.gc_ : maxlifetime vs probability/divisor : which has higher priority?

2010-07-22 Thread Keith
From what I read, the session will remain even after maxlifetime until the next round session garbage clearance. This is fine for me. 1) However, will the garbage clearance delete the session whose maxlifetime not reach yet? 2) maxlifetime is referrenced to most recent script execution time whic

Re: [PHP] PHP database interface layer

2010-07-22 Thread Marc Guay
> i recommend propel > http://www.propelorm.org/ This looks hopeful. I'd checked it out before but for some reason lumped it in with all of the other half-baked tools that didn't do what I wanted, but even that basic example seems to cover most of what I want. Thanks for the suggestions. Marc

Re: [PHP] PHP database interface layer

2010-07-22 Thread Nathan Nobbe
On Thu, Jul 22, 2010 at 7:35 AM, Marc Guay wrote: > Hi everyone, > > I've built a fairly large normalized database schema for a project. > This is fun for me as I like thinking about how everything is > interconnected. Foreign keys are all set up, many-to-many tables are > go, etc, and so on.

[PHP] Video lessons

2010-07-22 Thread Jordan Jovanov
Hello Im thing that I'm little layse, Do you somebody know PHP VIDEO LESSONS? Thanks a lot. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Does class length slow down performance

2010-07-22 Thread Peter Lind
On 22 July 2010 15:49, Sebastian Ewert wrote: > Peter Lind wrote: >> >> It's unlikely to cause you performance problems unless you've got a >> huge amount of traffic - and then you could probably fix your problems >> easier than refactoring classes. >> >> Personal anecdote: I've worked on classes

Re: [PHP] Does class length slow down performance

2010-07-22 Thread Sebastian Ewert
Peter Lind wrote: > > It's unlikely to cause you performance problems unless you've got a > huge amount of traffic - and then you could probably fix your problems > easier than refactoring classes. > > Personal anecdote: I've worked on classes longer than 3K lines with no > marked performance pro

Re: [PHP] PHP database interface layer

2010-07-22 Thread Peter Lind
On 22 July 2010 15:35, Marc Guay wrote: > Hi everyone, > > I've built a fairly large normalized database schema for a project. > This is fun for me as I like thinking about how everything is > interconnected.  Foreign keys are all set up, many-to-many tables are > go, etc, and so on.   But now it'

Re: [PHP] Does class length slow down performance

2010-07-22 Thread Peter Lind
On 22 July 2010 15:27, Sebastian Ewert wrote: > Jay Blanchard wrote: >> [snip] >> Thats exacty the point. In my user class I have functions whitch return >> object-lists of diffrent users or strings with html-form elements for >> managing this user account. >> >> But if I put all these in a helper

[PHP] PHP database interface layer

2010-07-22 Thread Marc Guay
Hi everyone, I've built a fairly large normalized database schema for a project. This is fun for me as I like thinking about how everything is interconnected. Foreign keys are all set up, many-to-many tables are go, etc, and so on. But now it's time to create an interface between that database

Re: [PHP] Does class length slow down performance

2010-07-22 Thread Sebastian Ewert
Jay Blanchard wrote: > [snip] > Thats exacty the point. In my user class I have functions whitch return > object-lists of diffrent users or strings with html-form elements for > managing this user account. > > But if I put all these in a helper class I would anyway need to > implement the user obj

RE: [PHP] Does class length slow down performance

2010-07-22 Thread Jay Blanchard
[snip] Thats exacty the point. In my user class I have functions whitch return object-lists of diffrent users or strings with html-form elements for managing this user account. But if I put all these in a helper class I would anyway need to implement the user object there, because of the other get

Re: [PHP] Does class length slow down performance

2010-07-22 Thread Sebastian Ewert
Ashley Sheridan wrote: > On Thu, 2010-07-22 at 10:49 +0200, Sebastian Ewert wrote: > >> Hi, >> >> I'm developing an joomla component and my helper an user classes are >> crowing bigger and bigger. The helper class is for static use only. >> >> Does class size decrease performance of my php scripts

RE: [PHP] Question about SQL and Graph nodel trees

2010-07-22 Thread Tommy Pham
> -Original Message- > From: Tim Gallagher [mailto:tgallag...@danati.com] > Sent: Wednesday, July 21, 2010 12:49 PM > To: Andrew Ballard > Cc: php-general@lists.php.net > Subject: RE: [PHP] Question about SQL and Graph nodel trees > > Thank you for the informaiton. I did see that code bu

Re: [PHP] Does class length slow down performance

2010-07-22 Thread Ashley Sheridan
On Thu, 2010-07-22 at 10:49 +0200, Sebastian Ewert wrote: > Hi, > > I'm developing an joomla component and my helper an user classes are > crowing bigger and bigger. The helper class is for static use only. > > Does class size decrease performance of my php scripts, even for static > usage? > Is

[PHP] Does class length slow down performance

2010-07-22 Thread Sebastian Ewert
Hi, I'm developing an joomla component and my helper an user classes are crowing bigger and bigger. The helper class is for static use only. Does class size decrease performance of my php scripts, even for static usage? Is there a general rule when to split a class to keep performance up? Thanks