Yeah exactly what I was interested in.

Re: automation. I recently did a good block of work on auto deployment,
upgrade (svn and DB) scripts for both windows and Linux which was my first
crack and bash scripts on Linux. Hard links was definitely the way to go on
either system meaning that the virtual hosts file didn't need editing. 
Also implemented PHP Under Control (free from PHPunit) on both Linux and
Windows which is an automated build processor (built on Cruise control which
is a java automation build processor) with a web front end. Does things like
generating phpdocs, runs unit tests, does code coverage analysis and code
sniffs which is comparing code quality against a coding standard like PEAR
or ZEND. Is a really cool setup but needs plenty of resources for projects
of decent size. You can get it monitoring svn repository changes to
automatically trigger build processes which was nice. There is a handy AIR
tool that keeps an eye on it to. One thing I was interested with this was
finding something that also generated the UML static class diagrams with
relational links which I did manage to find something. Hmm what did I do
with that link.

Thanks Dan

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Dan Khan
Sent: Wednesday, 8 July 2009 11:36 a.m.
To: [email protected]
Subject: [phpug] Re: Things is of interest


Hi Andrew,

We used the lucene search index about 10 years ago in our online
community site.  Whilst it was wasn't through ZF at the time, we were
blown away with it's performance, still sounds like it's up there.

I've been looking into Amazon AWS again recently, and things seemed to
have matured a little more than when I last looked.  Still a little
difficult to gauge the running costs, but certainly looking a lot more
viable to use as a scalable infrastructure than it once did (they only
have US and EU presence so nothing in Asia yet for hosting AU/NZ
sites)

Been working a lot on internal tools, automating code deployments
using PHP, SVN, and SSH - kind of interesting (to me) how much you can
automate - check out revisions, prepare code, bake statics, deploy to
staging servers, auto-tag release code, semi-automated deployment into
production (create new webroot folder (possibly hardlinked to previous
release - haven't decided yet), then output commands to change the
webroot symlink to new folder once any DB updates are performed.  Hmm,
automatic DB update deployments....danger!

Other than that bringing svn server in house and playing will some
neat hook scripts.
Er...php...?  Been adding an instrumentation layer into our DB
framework to start collecting and profiling some production queries.
Even with a single web/db setup at the moment, I'm also considering
adding a front-end load balancer so I can siphon off a bit of
production traffic for beta testing and collection of this sort of
stat.

I am planning to think about writing a php layer on top of our
existing admin tools so I can capture changes in our product/data
editing (staging) environment and think about a sensible way to replay
this on a production system without letting non-technical data editors
loose on the live system - if anyone has any ideas on this, these
would be welcome.  Short of logging all SQL and replaying (not ideal
incase as part of that session they deleted stuff or reverted changes
- we'd only want to update final.)  Could try syncing/comparing
specific DB tables, but again risk of referential integrity or live
data hitting production tables that aren't yet in staging (hmm, could
replicate to editing server...?)  Any other ideas or anyone doing
similar stuff?

Dunno if any of this stuff this is interesting to anyone other than me
;-), but might help generate some conversation - good thread idea.


Cheers,
-Dan

On Wed, Jul 8, 2009 at 11:19 AM, Andrew McMurtrie<[email protected]> wrote:
> Just thought I would pose the question: what are/have you been using
> recently that is of interest.
> I know it is a bit generic but there has got to be some cool things that
> others are doing that the rest of us have no idea about or that has caught
> your fancy.
>
> The problem with programming is you craft this really nice
> functionality/code/app, learn this new trick or hook onto some cool
> functionality in a framework/library but usually don't get to share it,
> unless you work in an office with other geeks, so no one hears about it.
(or
> unless of course you belong to a PHP user group!)
>
> I have recently been working with Zend Lucene Search for indexing and
> returning search results for page content. It was pretty easy to get going
> and I was shown a tool for reviewing the index content which helped
> determine what was happening when content was indexed. I still need to get
> into more detail on the result output side of things for displaying search
> results with highlighted result words and to see what else it can do but
it
> is very handy.
>
> Cheers
>
> Andrew
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
signature
> database 4222 (20090707) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
> __________ Information from ESET NOD32 Antivirus, version of virus
signature
> database 4222 (20090707) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
> >
>


 

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4222 (20090707) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
 

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4222 (20090707) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 


--~--~---------~--~----~------------~-------~--~----~
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