codingpie.com
titanium | Coding pie
http://codingpie.com/category/titanium
Unit testing in Titanium Appcelerator and Alloy: Testing controllers. October 9, 2013. This is the last part of the tutorials about unit testing in Titanium Appcelerator. We are going to test controllers. Testing controllers is a bit tricky, as we can’t physically trigger interface events, we have to trigger the events with a call to $. views.VIEW ID.fireEvent(“click”). Continue reading Unit testing in Titanium Appcelerator and Alloy: Testing controllers. June 17, 2013. June 12, 2013. Working in a mobile...
codingpie.com
testing | Coding pie
http://codingpie.com/category/testing
Unit testing in Titanium Appcelerator and Alloy: Testing controllers. October 9, 2013. This is the last part of the tutorials about unit testing in Titanium Appcelerator. We are going to test controllers. Testing controllers is a bit tricky, as we can’t physically trigger interface events, we have to trigger the events with a call to $. views.VIEW ID.fireEvent(“click”). Continue reading Unit testing in Titanium Appcelerator and Alloy: Testing controllers. April 17, 2013. And the other one is Jenkins.
codingpie.com
Continuous integration with Symfony 1.4 : Sismo | Coding pie
http://codingpie.com/2013/04/17/continuous-integration-with-symfony-1-4-sismo
Continuous integration with Symfony 1.4 : Sismo. April 17, 2013. Continuous integration is something that you don’t know you need it, but once you start using it you can’t live without it. For symfony we have at least, two different options. The easiest one to setup is Sismo. And the other one is Jenkins. Sismo only does one thing, running tests, but if you don’t need more things or you are going to set up it locally, it is a good option too. And pointing apache to the web folder of the sismo project.
codingpie.com
Unit testing in Titanium Appcelerator and Alloy: Testing commonjs modules | Coding pie
http://codingpie.com/2013/06/12/unit-testing-in-titanium-appcelerator-and-alloy-testing-commonjs-modules
Unit testing in Titanium Appcelerator and Alloy: Testing commonjs modules. June 12, 2013. Working in a mobile platform is always a difficult thing as there are a lot of changes, platforms, devices, versions,…. When i started with Titanium Appcelerator, one of the first things I missed was a testing framework. I can’t imagine doing big projects without automatic testing. Luckily there are some people that have been able to hack other testing frameworks so that they work with Titanium. So, let’s get ...
codingpie.com
code quality | Coding pie
http://codingpie.com/category/code-quality
Category Archives: code quality. Trying to create clean code and some bad habits we should avoid. February 20, 2013. Nowadays, we think that people that uses tables for css formatting lives in the nineties, but as programmers there are a lot of things we do every day that are even more scarier than tables. Recently I’ve read again Clean Code. Continue reading Trying to create clean code and some bad habits we should avoid. Unit testing in Titanium Appcelerator and Alloy: Testing controllers.
codingpie.com
php | Coding pie
http://codingpie.com/category/php
Line breaks with php. December 2, 2012. Recently, in my job we had to preserve the line breaks from some csv files and we weren’t able to discover why they were not preserved. The thing was that we were using single quotes. Echo 'a line n another line n';. A line n another line n'. Instead of double quoutes. Echo "a line n another line n";. A line n another line n". And when using single quotes, as the php.net page. Says, all the escape characters are not interpreted:. The simplest way to specify a string.
codingpie.com
Trying to create clean code and some bad habits we should avoid | Coding pie
http://codingpie.com/2013/02/20/trying-to-create-clean-code-and-some-bad-habits-we-should-avoid
Trying to create clean code and some bad habits we should avoid. February 20, 2013. Nowadays, we think that people that uses tables for css formatting lives in the nineties, but as programmers there are a lot of things we do every day that are even more scarier than tables. Recently I’ve read again Clean Code. These are some of the most useful advices in the book for me:. Inappropiate or obsolete comments. A class with the word response will return a response, you don’t need to document it. Using many ar...
codingpie.com
Unit testing in Titanium Appcelerator and Alloy: Testing models | Coding pie
http://codingpie.com/2013/06/17/unit-testing-in-titanium-appcelerator-and-alloy-testing-models
Unit testing in Titanium Appcelerator and Alloy: Testing models. June 17, 2013. Continuing with the Appcelerator unit testing tutorial, in this one we’ll test backbone models. For the models you can test things like model methods and collection methods, persisting, modifying and creating models…. The main problem with the database is that we need to use a different database for testing, so that we can clean it every time we run the tests. Global": { "db name": "my db" }. The cloud atlas (David Mitchell)".
codingpie.com
appcelerator | Coding pie
http://codingpie.com/category/appcelerator
Unit testing in Titanium Appcelerator and Alloy: Testing controllers. October 9, 2013. This is the last part of the tutorials about unit testing in Titanium Appcelerator. We are going to test controllers. Testing controllers is a bit tricky, as we can’t physically trigger interface events, we have to trigger the events with a call to $. views.VIEW ID.fireEvent(“click”). Continue reading Unit testing in Titanium Appcelerator and Alloy: Testing controllers. June 17, 2013. June 12, 2013. Working in a mobile...
codingpie.com
pedro | Coding pie
http://codingpie.com/author/pedro
All posts by pedro. Unit testing in Titanium Appcelerator and Alloy: Testing controllers. October 9, 2013. This is the last part of the tutorials about unit testing in Titanium Appcelerator. We are going to test controllers. Testing controllers is a bit tricky, as we can’t physically trigger interface events, we have to trigger the events with a call to $. views.VIEW ID.fireEvent(“click”). Continue reading Unit testing in Titanium Appcelerator and Alloy: Testing controllers. June 17, 2013. June 12, 2013.
SOCIAL ENGAGEMENT