Can We Test It? Yes We Can

Hopefully as developers who practice more-or-less test driven development, the excuse that “this code isn’t really testable” should always be challenged these days – indeed, one definition of “legacy code” is “code without test cases”. But what about the non-executable artefacts of a component? There’s usually more than just a binary file involved in deploying a service: for example, a service might transform documents using XSLT, invoke an internal scripting engine, or have a configuration file generated by some templating framework. Can we automate checking on these additional pieces of the jigsaw to reduce the risk of launching broken deployments?

Continue reading “Can We Test It? Yes We Can”

Salesforce, mobile & Front end stories

Salesforce has its own proprietary language called Apex. Apex provides easy to build data views and because the out of the box interface is never enough, it also has it’s own front end proprietary language, Visualforce. Apex is very much a Java-like object-oriented language in syntax and grammar, however the concept of programming is rather Database – oriented. With Apex you can access and perform all the known DML actions on your data. Visualforce is a markup language with plenty of tags that essentially are ‘translated’ as html elements when the pages you have built are rendered. Furthermore Visualforce has out of the box JavaScript components that will enhance the flow of the UI. Take the two together, Apex + Visualforce and you have got a powerful combination of customizable views and data manipulation. There’s nothing you can’t do right?

Continue reading “Salesforce, mobile & Front end stories”