| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « May | ||||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | 31 | ||
Posted on August 4th, 2010 by thiswayup.
Categories: dev.
Today at work at we had a someone from Spring Digital do a basic introduction to SEO. At my work we have been working a bit in this space and always trying to gain SEO advantages over other sites but I thought it could be good to check out any possible new nuggets. As it stands I learnt some new things and reinforced some interesting points which have been floating around:
Finally I have been reading a bit from . As a developer I wonder about the process of our site builds and whether we are doing the correct "thing", reading this book had definitely given me some more insight. One of the points which sticks out is the advice to not use pagination. There are a few points he makes for it being bad :
This pagination point sticks out as it goes to show that there is a site usability opportunity cost of choosing to not to use pagination. The book does concede though that it takes a seriously alot of planning to try build a certain large sites without pagination.
Posted on July 27th, 2010 by thiswayup.
Categories: dev.
Since api , I've been recently relearning some of the stuff to the new v3 api and trying to figure out the differences. One of the annoying things (as of writing) is the lack of clearOverlays().
There's a few ways to do it but the easiest way to do is maintain a separate array of markers then remove them one by one. So the code would look like :
while(markerArrayList[0]){
markerArrayList.pop().setMap(null);
}
We keep going through the array in the while loop and pop an item until we don't have any more at which point the markerArrayList[0] will return false and stop the loop.
I hope this helps some out there! Please feel free to comment!
Posted on May 31st, 2010 by thiswayup.
Categories: dev.
I don't have much to post about this month so I'll post some interesting Modx links I have.
Introduction to MODx Revolution, Pt. I - http://vimeo.com/8335791?hd=1
modx and kohana - Someone has attempted to bridge between Modx and Kohanahttp://forum.kohanaframework.org/comments.php?DiscussionID=4221
Getting back into modx when you have locked yourself out - http://www.lucidgreen.net/webbybooth/?p=27
WordPress vs modx - I just found this thread recently, old but interesting http://modxcms.com/forums/index.php/topic,15341.0.html
Stats plugin for modx - http://modxcms.com/about/blog/zaigham/slimstat-plugin-for-modx.html
More modx tutorials - http://www.modxrules.com/
Posted on April 13th, 2010 by thiswayup.
Categories: dev.
I thought I'll start creating a SEO checklist for my personal and whoever likes to reference this, at the moment itd quite small but will add more and more over time.
General site structure
Making google happy
More techie stuff
Content guide
Tools
Other
Posted on April 13th, 2010 by thiswayup.
Categories: dev.
I recently had windows 7 installed on my machine at work after it had been running like a dog for the past 6 months, previously I had Win Xp. I tried to install WAMP and xdebug but was finding that I kept on having random connection issues and breakpoints was not working, bloody annoying! At first I thought this was because I was running php 5.3 wamp but then tried to put in php 5.2 but pin point it to recent versions of Xdebug not playing very well with WAMP.
I read a couple of posts and just changed dll used to and it suddenly worked!
Also for future reference :
zend_extension_ts="C:/wamp/bin/php/php5.2.9-1/ext/php_xdebug-2.0.4-5.2.8.dll"
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
Got this from the
UPDATE: Really useful to work out which binary and instructions for your specific setup. Awesome juice!
Posted on March 19th, 2010 by thiswayup.
Categories: dev.
I decided to spread the word about my fave CMS framework, , last night at the . It was really good fun, the initial nerves was banished once I got going. I made the mistake of trying to build a whole site and do a code demostration. I managed to do about 70% of it though obviously got stuck here and there! Still, it was a pretty good presentation and people kindly commented how good it was being my first presentation! Definitely a very positive experience and looking forward to more of these things
I think I managed to get a few people interested in Modx and through this I'm hoping that I can give back to the community. After all, the more people who use it, the more it will spread!
My talk was then followed by a great informal chit chat of SxSW from . He discussed his faves talks, the mad life, the interesting people and situations plus the general sub-culture around it! I really do fancy going next year and planning to book my ticket
Here's my slides on the modx talk to download
UPDATE:
Check them out on and the video is
Posted on March 17th, 2010 by thiswayup.
Categories: dev.
Just read the round up of ie9. Looks quite interesting, especially the following:
Another big surprise is the dropping of WinXp support! Sigh, I guess I'll have to leave my cozy WinXp machine at some point then

Posted on February 22nd, 2010 by thiswayup.
Categories: dev.
Just to remind myself how to capture the event when the map is dragged AND work out the distance to a previously recorded center point on the map
GEvent.addListener(gmapFn.mapObj,'dragend',function(){
var ctrLatLng = gmapFn.mapObj.getCenter();
alert(ctrLatLng.distanceFrom(gmapFn.lastRefLatLng));
});
Very handy! gmapFn.mapObj = the object of the instianted gmap object and gmapFn.lastRefLatLng is a GLatLng. You can quickly get the center of a google map by calling the function gmapObject.getCenter() which returns the center as a GLatLng.
Enjoy!
Update : handy refrence of all the events you can to a google maps listener http://econym.org.uk/gmap/gevent.htm
Posted on January 25th, 2010 by thiswayup.
Categories: dev.
I've been seeing alot of php/web dev best practices recently and I'm always looking at whats the "best" way to do things ...just so that I can be a lazy ass over the long term and not have to go back (and fix) potentially naff code
Here is a small collection of them that has ended up in my bookmarks.
Posted on November 30th, 2009 by thiswayup.
Categories: dev.
Just for my own personal reference. Here's a quick list of the different types of variables in Modx.