Archive for the 'PHP' Category
Finally the Craftfest site is live! Craftfest is one of the major projects that George, Philip and I have been working on at Expertise Events for the past two months. It’s the first of many sites to be launched on the new Xerxes² platform that Philip and I have been churning out for the past few months, the next evolution of our in house development framework and CMS, EMarketing, CRM and Ecommerce platform. This is the first major project that we’ve done as a team since I’ve rejoined Expertise and I’ve thoroughly enjoyed working with another passionate developer and designer.
We had a couple of hitches late last week which unfortunately delayed the launch until today, but the new site is humming along nicely. If you are at all interested in Craft shows and events, or want to shop for craft products from multiple retailers at once easy to use website, definitely check it out!
Anyway, this launch is phase one of the new Xerxes deployment. Stage two will come online towards the end of next week (The exhibitor portal which allows retailers to manage their products, projects and coupons online) followed shortly by our final phase – the staff system to allow the entire thing to be managed by our in house sales, marketing and co-ordinator staff members (rather than currently the three of us making ALL changes and updates). Craftfest is the first of many exciting projects the Expertise Web team are working on at the moment, so stay tuned!
read comments (0)
Fantastic podcast by Joe Stump (Lead architect @ Digg) about scalability and performance of php applications.
Well worth listening to if you work on any large volume web applications
So… The windows command line has a bunch of commands built in for common tasks such as creating directories, renaming stuff, moving things about, yada yada yada. Its kind of stunted though when I compare it to the kind of file operations I do all the time in my development work.
I just finished sorting a huge number of files into appropriate directories, and noticed annoyingly that about 10,000 files (images in this case) had signatures in the file name making them ugly when displayed on my HTPC as a slide show. For example “Blue Iris (!downloaded from precariouspanther.net!)”… (The site link obviously changed in this case). Rather than having that garbage show up on my screen, I much prefer it to just be “Blue Iris”.
The easiest way to do this is just selecting the file, pressing F2 (or right click/rename) and editing the name removing out the garbage. This is normally fine – however with this collection of around 10,000 images it would take, oh I dunno… three years???
Frell that for a joke! After five mins scouring google I didn’t find a quick and easy solution, so whipped up a quick php script to enable simple find/replace on file names in a directory, opened up trusty CMD, typed in
findReplaceName * ” (!downloaded from precariouspanther.net!)” “”
and within 2 minutes all the work is done. I used to use perl for my shell scripting in linux all the time on the web servers, but given I’m coding php all day every day (and setting up perl on windows is annoying) this worked out much much better for me.
Had a chance today to throw together a quick Wordpress plugin to fix the trouble I was having with the hotlinked (from Blogger) images auto-uploaded from my mobile phone.It automatically caches ALL hotlinked images locally, no matter what kind of tag references them – even if its a link. Dumps cached images into a pantherCache folder within your uploads directory.
Caching occurs when the post is being saved so that your blog doesn’t lag up
Anyway for anybody who wants it, the link is below. Its very unsupported though so be gentle with it.


