Forum Moderators: coopster

Message Too Old, No Replies

PHPWest

         

jatar_k

6:32 pm on Jan 17, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



So I went to the one day PHPWest conference on the 14th.

It was focused around web services. Now, don't get me wrong, web services are useful, I just don't care about them.

So, I met a few guys from Zend, listened to a couple of the presentations and was more than satisfied with the experience. I think it was only 40 CAD and was worth every penny and more. I had to leave early since I, unfortunately, had to get some work done before the weekend but just hearing Rasmus Lerdorf give the keynote on Pragmatic PHP was worth it, if nothing else.

you can see for yourself here
[talks.php.net...]

coopster

6:50 pm on Jan 17, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Nice. Thanks for the update.

otc_cmnn

10:20 pm on Jan 17, 2005 (gmt 0)

10+ Year Member



I got some good value out of Cal Henderson's presention about Flickr. It is nice to hear real world stories about innovative implementations of PHP. Terry Chay's Patterns presentation on the other hand was all form and no substance. Always great to hear from Rasmus and get a bit of insight into the world of Yahoo!.

Overall there were some good tidbits and it was well worth the $50. Don't think I'll attend the one in three months on Security, looks too technical for me. I'm more of a marketer, I've got guys to do the hardcore stuff for me, I'll send one of them.

Nice to meet you there.

mincklerstraat

10:32 am on Jan 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Lehrdorf in the presentation slides:

"The greatest inefficiencies come from solving problems you will never have."

- so true.

I don't know how many hundreds of lines of junk some of my stuff has to pass through just because I thought, "wouldn't it be neat if this could do that if I later need to do the other thing?" When I never end up doing the other thing.

However, if you can come up with a generalized solution that will accommodate *lots* of likely scenarios, since it's generalized, it's likely to be fast too.

"Dumb things
Don't do dumb things! "

Will always be relevant, have to keep reminding myself this.

"Try to limit yourself to 5 or less includes per request"

Funny, now that I see this, and see the opcode cache advice, I wonder if I already read a 'preview' of this lecture (think I saw a link to it from phparchitect).
You don't see this advice very often, and not many big scripts follow it. Some scripts I have installed so I can throw stuff at them show: pbpBB2 includes 14 files (including index.php, total 156K); phpnuke includes 18, 136K. I think the advice is good in general; if you have fairly advanced scripts, though, it'll be very hard to keep your code modular with only 4 or 5 includes. But limiting the number of includes as possible is very good advice - php programmers are also picking up on it slowly - the *nuke family used to include all sideblocks, whether displayed or not, about 20 or so - xaraya used to run through some included file about 15 times iirc - these aps don't do this any more iiac.

For those not familiar with it, [talks.php.net...] is a great resource - many 'talks' not so newbie-friendly since you only get the slides and not the 'talk', but indespensible if you're into exploring php.

mincklerstraat

1:37 pm on Jan 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



btw jatar and otc_cmnn, about how many people did you see / would guess were there?

otc_cmnn

5:31 pm on Jan 18, 2005 (gmt 0)

10+ Year Member



I did a quick estimate of about 125 - 150. Was at the Planeterium which is a bit awkward to get to if you don't have a car. I preferred last years venue downtown which was easily accessable via the train.

Overall not a bad turnout, if Nathan can keep it going regularily I'm sure the momentium will grow. Lots of familiar faces there, but lots missing as well.

jatar_k

6:58 pm on Jan 18, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



They said around 180 registered so a good turn out.

loading things into shared memory was the thing that myself and the sysadmin here have talked about which was very good to see in practice.

I always preach 'pragmatic php' and sometimes worry that I might be giving people bad advice so it was very reassuring to see Rasmus say the same thing. We spend a lot of time distributing the load of what needs to be done between apache/os/php etc. I seldom see people talking much about it though so seeing it mentioned there was also very nice.

freeflight2

7:17 pm on Jan 18, 2005 (gmt 0)

10+ Year Member



"Try to limit yourself to 5 or less includes per request"

just install mmcache or any other (open source) php precompiler - I have a bunch of these monsters (phpbb, galleries etc.) running making dozens of includes per request and a dual xeon box for $200/mo easily serving 30-40M page views/mo... CPU time is cheap nowadays... focus on a good programming style/OO instead.
loading things into shared memory
I am doing this with all user sessions IDs, very easy+fast with mmcache_put(key, value)

jatar_k

7:50 pm on Jan 18, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



>> just install mmcache or any other (open source) php precompiler

but why make it necessary in the first place?

Timotheos

10:25 pm on Jan 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What's up with conferences in Canada? Isn't this the third one in a year? Toronto (looked real good), Quebec and now Vancouver. Haven't seen any in the US. Can you tell I'm jealous?