Hi,

Just a quick note to say that after 6 months of effort and some serious late
nights, we released our new PHP5 website last night at www.1791diamonds.com
Thanks to list member James McGlinn for some helpful advice regarding
performance, and other members for insightful on-list APC/eaccelerator
debate - this has made quite a difference in terms of php speed
improvements.

 Any feedback or questions from a PHP or techie perspective are welcome (I
know the XHTML isn't as clean as I'd like yet...)!

I think we made some cool use of scriptaculous/prototype to make some neat
animations and ajax in the 'design your own ring' section and the product
catalogue - looking back 5 years ago, I'm amazed that this sort of stuff can
be done easily in the browser now without resorting to Flash or similar
'fat' technologies.

The URLs are search engine friendly (as much as poss) by piping though from
apache to php to pre-process and rewrite - again looking back at how we used
to do this 10 years ago using mime-type hacks, it's all just so easy now.
All product images are automatically css-spritemapped on the server using
imagemagick to save server requests and reduce files sizes; and JS is first
compressed, then packed using free online tools. This makes a great
difference for fat JS libs like scriptaculous/prototype taking 270KB down to
50ishKB!  Rendering uses smarty, using the in-built caching (modified
slightly to also cache HTTP headers for our Ajax JSON headers).

Also, if any of you geeks are up at 7am and are near getting engaged, watch
TV3's Sunrise over the next couple of weeks for a chance to win the $10K
diamond engagement ring that Carly Flynn is wearing as part of our launch
promo!

Cheers,
-Dan


*Dan Khan*

Technical Director

1791 Diamonds Ltd



www.1791diamonds.com



DISCLAIMER: The views and opinions expressed in this e-mail are my own and
do not necessarily represent the views of 1791 Diamonds Ltd. The information
contained in this email message is intended only for the use of the person
or entity to whom it is addressed and may contain information that is
CONFIDENTIAL and may be LEGALLY PRIVILEGED and exempt from disclosure under
applicable laws. If you read this message and are not the addressee you are
notified that use, dissemination, distribution, or reproduction of this
message is prohibited. If you have received this message in error, please
notify us immediately via reply email to [EMAIL PROTECTED] and
delete the original message. We regularly scan our IT systems for viruses,
however, you should also scan this message and any attached files for
viruses. 1791 Diamonds Ltd accepts no liability for any loss caused either
directly or indirectly by a virus arising from the use of this message or
any attached file.

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to