Month: October 2013

Lasso

Measuring performance: Timing your code


Being concerned for the performance of your code should be important to you… but if you’re not using a dedicated profiler, getting metrics isn’t something well understood. Here are some basic techniques to get you equipped with the tools to improve the responiveness of your code. Isn’t this just a matter of pride? Everyone should

Read More

Lasso

Creating Client Side API’s


The strength of the Net isn’t just what you put on it – it’s also how you interact with the world around you. According to the great oracle Wikipedia: An application programming interface (API) specifies how some software components should interact with each other. […] In practice, many times an API comes in the form

Read More

Lasso

Dealing with web_request->param in Lasso 9


Lasso 9’s new “web_request->param” behaves quite differently to action_param found in previous versions of Lasso. It’s lower-level, and a little more verbose, but significantly faster – which makes it an obvious tool to master. Simple usage: web_request->param(‘myparam’) … returns the GET or POST param “myparam”. However, it returns it as a “bytes” type, which for

Read More