‘Ext JS’

Testing ExtJS 4 with Jasmine and Sinon

testExtjs2

Jasmine and Sinon are two JavaScript testing frameworks, while the first offers a clear syntax and a great collection of matchers the latter excels when faking xhr operations. In this article I will explain the setup needed to make use of these libraries to test our ExtJS 4 applications. First download Jasmine, I’m using the… Leer más

Coding a simple Web API with CodeIgniter – Part 2

Now that we have a working installation of CodeIgniter let’s take a closer look at the core of our Web API functionality: the controller. In CodeIgniter we define a controller as a file inside the controller directory by using the following template.