php-general Digest 22 Jul 2010 15:14:37 - Issue 6859
Topics (messages 307082 through 307096):
Re: XML DOM
307082 by: Benjamin Hawkes-Lewis
Does class length slow down performance
307083 by: Sebastian Ewert
307084 by: Ashley Sheridan
307086 by: Sebastian
php-general Digest 23 Jul 2010 05:28:27 - Issue 6860
Topics (messages 307097 through 307108):
session.gc_ : maxlifetime vs probability/divisor : which has higher priority?
307097 by: Keith
Re: Does class length slow down performance
307098 by: Jay Blanchard
307099
On 21 Jul 2010, at 19:32, Ben Miller wrote:
Problem:
If street2 (or any other field) has no value, PHP is outputting the XML node
as street2 /, which is producing a JS error when I try to call:
script type=text/javascript..
street2 =
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?
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 there
-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 but it
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, even for
[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
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 object
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
On 22 July 2010 15:27, Sebastian Ewert seb2...@yahoo.de 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
On 22 July 2010 15:35, Marc Guay marc.g...@gmail.com 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.
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 problem.
On 22 July 2010 15:49, Sebastian Ewert seb2...@yahoo.de 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
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
On Thu, Jul 22, 2010 at 7:35 AM, Marc Guay marc.g...@gmail.com 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,
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
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
[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
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
On Thu, Jul 22, 2010 at 2:40 AM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:
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
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?
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 enough but
On Thu, Jul 22, 2010 at 1:14 PM, Marc Guay marc.g...@gmail.com 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
On 22 July 2010 21:14, Marc Guay marc.g...@gmail.com 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
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
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
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's
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
29 matches
Mail list logo