Blog
June 16th, 2008
To keep disk space usage to a minimum, Extro recommend you switch on your PLESK Log Rotation.
The steps below are directly from the PLESK User’s Guide:
All connections to the Web server and requests for files that were not found on the server are registered in log files. These log files are analyzed by the statistical utilities running on the server, which then present graphical reports on demand. You may want to download these log files to your computer for processing by third-party statistical utilities, or view their contents for web server debugging purposes.
To prevent these log files from growing too large, you should enable automatic cleanup and recycling of log files:
1. Go to Domains > domain name > Log Manager > Log Rotation and click Switch On. If you see only Switch off there, this means that log recycling is already switched on.
2. Specify when to recycle log files and how many instances of each log file to store on the server. Also specify whether they should be compressed and sent to an e-mail address after processing. Click OK.
To view the contents of a log file or download it to your computer:
1. Go to Domains > domain name and click Log Manager in the Hosting group. A list of log files will show.
* To specify the number of lines from the end of the log file that you would like to view, type a number into the input box under the Preferences group.
* To view the contents of a log file, click its file name.
* To download a file to your computer, click an icon corresponding to the file you need.
* To remove a processed log file from the server, select a corresponding check box and click Remove Selected. Confirm removal and click OK.
Posted in account management, hosting, plesk | No Comments »
June 4th, 2008

The website is set to transform the solar industry, with Fortune magazine labelling Sungevity “The Dell of Solar Energy”.
The Sungevity.com launch has caused a stir in the media, with feature articles in Fortune magazine, CNN money, Wired.com, TV News features, plus plenty of chatter on blogs all around the world.
Extro Interactive worked alongside Sydney-based Canned Ham to deliver a website that offers a new take on the residential solar industry. The site revolutionises the process of purchasing a home solar system by leveraging web 2.0 technology.
Sungevity is currently only available in California, but they are quickly expanding across the US. We hope they will be launching in Australia sometime soon!
Posted in cakephp, php, account management, flash, actionscript | No Comments »
June 3rd, 2008
If you want to know what people are really searching for online, go and have a play with Google Trends.
You can see how popular a search term is on Google, and it’s updated every 48 hours so you can also get up to the minute data, or view up to 4 years of historical data.
It also has a neat feature which allows you to compare multiple search terms, particularly useful for vanity checks on how often people are searching for your brands (or your competitors).
Here’s an example which should help to illustrate how it works:

 |
clinton |
 |
obama |
Click here to visit Google trends
Now, keep in mind, the figures are a little rubbery (there isn’t even a precise scale on number of searches) but it really gives a nice overview.
Posted in search, statistics | No Comments »
May 26th, 2008
If you want to trace something in flash but you want to load the flash in a browser, you can rework your trace statements to display them with the Firebug extensions.
Instead of using trace() you can use the following:
var flash_variable = ‘testing 123′;
getURL(”javascript: console.log(’”+ flash_variable +”‘)”,”_self”);
These statements will appear in the Firebug console inside Firefox. For more options, you can view the full capabilities of the console: www.getfirebug.com/console.html
You could create a new function that automatically traces to both sources, but make sure it is not switched on by default, or it could cause problems and expose data to maliscious users. AP
Posted in developers, test, testing, html, browser, flash, actionscript | No Comments »
May 1st, 2008
Just a quick shoutout to say thanks to a few gun actionscript coders out there who are generously sharing their top-notch work…
Posted in developers, php, browser, compatability, flash, actionscript | No Comments »
May 1st, 2008
We just made a quick update to the Actionscript 2 JSON class to fix ordering bug of object properties…it’s a small change, but it might save you pulling your hair out at 3am… plus we threw in a fix for crashing out on null properties at no extra charge!
Download the JSON.as class (Actionscript 2)
Download an FLA example implementation (Flash 8, Actionscript 2)
Posted in flash, actionscript | No Comments »
April 3rd, 2008
What a wonderful industry we work in… Jon, thanks for clearing this up for us.

Enjoy Jon’s narrative on the web design-development process
Posted in developers, account management, internet | No Comments »
March 26th, 2008
Is there light at the end of the browser-hacking tunnel? I just read in SMH that IE8 will adopt open W3C standards by default (with an option to revert back to non-standard compatability modes to keep legacy systems built to support IE6 and IE7 up and running)…
Firstly, I am taking it with a grain of salt because after almost a decade of stupidity, I find it a bit hard to believe they are going to come full circle now. So I’m not throwing out our four-system browser-compatability (hacking) workstation just yet. But if it is true, then hallelujah!!!
These days we are spending (wasting) an absurd amount of time on browser compatability. In fact, for design-focussed clients, it’s such a problem that browser compatability is one of the earliest considerations we need to address in the design process, because there are simply so many pitfalls that a perfectly valid standards-based site concept may be a write-off in a good chunk of browsers.
Now, all we need to do is sort out standardize what’s happening on the javascript side of the equation and we’ll be taking fridays off (and probably half of thursday too)!
Posted in ajax, php, testing, css, html, browser, compatability | No Comments »
February 25th, 2008
Here are a few things to keep in mind when learning CakePHP.
- Learn Cake’s naming conventions. If you don’t understand them, you will not understand cake. Simple. e.g. If you have a field dropdown field in a form, in your view you should use $form->input(’featured_status’), and in your controller you could use $this->set(’featuredStatuses’, array(0=>’Not featured’,1=>’Featured’) ); The naming convention automatically converts between then, so your featured_status field will be populated with all the relevant featuredStatuses.
- Lean what “Fat Models, Thin Controllers” means. http://www.littlehart.net/atthekeyboard/2007/04/27/fat-models-skinny-controllers/
- You don’t strictly need a separate controller for every single model. Often, it’s much better to have few er controllers which store all related actions. This often makes it a lot easier to locate relevant code. (e.g. If you had a fruit model, as well as models for oranges, apples, and bananas, it could be good to just have a single fruits_controller, rather than separate controllers for each one.
- Code newsting inside views should generally be based on the HTML structure, rather than PHP structure. e.g. You should indent code based on div’s, rather than php ifs and loops.
- You should NEVER use straight database queries. You should learn how to use model associations (hasMany, belongsTo, etc) to perform your queries. Be sure to learn bindModel and unbindModel to perform special quieries -> they allow you to dynamically change your model behaviours, but conveniently, they only last for one query, so your other code will not be affected.
- Use a small number of standard elements to build most of your site. Add optional parameters for adding headings, links, rows of data etc. The fewer generic elements you can use to build your ENTIRE site the better.
- Beware the dreaded self-closing div tags < div / >. You must always have a separate end tag for divs. Don’t know why, it’s just the rules. e.g. < div>< /div>
- When doing browser compatability, comment out each element in turn to identify which elements are causing problems. Also, use Firebug and Internet Explorer Developer Toolbar to ensure your div nesting is correct => incorrect nesting is a major source of browser bugs, because Firefox is a lot friendler than IE, so if you develop and optimise in Firefox you layout may look right, but it may actually contain structural errors which really need to be fixed, rather than just using unreliable browser hacks to hide the problems.
- IE is particularly picky when using AJAX -> perform W3C Validation frequently on your html/css, because it will often pick these errors up for you! Rather than digging around in your code for an elusive missing tag or incorrect nesting order.
- When using Enum values, use this method to populated your form fields (by adding it to your app_model.php): e.g. Controller code: $this->Event->getEnumValues(’approval_status’)); http://bakery.cakephp.org/articles/view/baked-enums
- You don’t need to include all tables in your $uses array. If you include one table, you can uses any models that are associated with that first model by accessing the sub-model as a child of the first model. e.g. If your controller users Author, but you want to use a Book model, you could use the format: $this->Author->Book->findById($book_id)
Posted in test, cakephp, ajax, php, testing, css, html | No Comments »
June 7th, 2007
Who cares if it takes trendy urbanites an extra 3 minutes to download their latest iTunes purchase?
Leading up to the Australian Federal election, there is a lot of talk in the media and in politics about the need for faster internet access for Australians.
I agree that this is an issue, but the way it is being phrased does the movement a disservice.
ADSL 2 INTERNET ACCESS IN AUSTRALIA IS QUICK - BLOODY QUICK!
We use ADSL 2 from TPG (www.tpg.com.au). It is cheap as chips (about $69.95 per month for the 30 basic Gig package) and for the record, the speed is BLISTERING. We need to be careful that we don’t accidentally download huge files it threatens to fill up our cap of 30 GIGs per month. (Actually we just upgraded to the 50Gig plan because of this very reason).
Our record so far was 1137.89kb per second (i.e. If you had absolutely no taste and wanted to download the entire Pirates of the Carribean 3 (despite being 3 hours long), it would take us about 30 minutes. (Granted, that was from a server based in Melbourne, but we regularly get over 235kbper second from servers based in the US or elsewhere).
PENETRATION STUPID!
What we should really be saying is that we want better broadband penetration. The more people who have access to broadband in Australia (even just old school broadband downloading at 20kb per second) the more Australians will get be involved in online, and the stronger our audience and industry will be.
WHAT’S ALL THIS TALK ABOUT RURAL BROADBAND?
Furthermore, I can appreciate the social aspect of encouraging broadband penetration into rural and remote Australia. Giving all Australians access to internet is important from an economic and education standpoint. However, I wonder how the actual numbers end up breaking down? How much does it cost (or how much do you need to subsidise) a broadband connection to someone in Remote Western Australia?
I don’t really know the exact numbers involved, but if everyone in the major cities already has ADSL (or ADSL 2, or Cable or something else respectable) then surely we should be focussing back towards the areas without broadband at all?
Posted in broadband, speed, aimia, australian politics, federal election, broadband penetration, faster | No Comments »
|
|