Gavinho Labs

RESTful webservice with Slim Framework

Ingredients PHP 5 RESTful concepts Slim Framework Directions Download Slim Framework Extract and copy that to your folder Create the index.php <?php require_once 'Slim/Slim.php'; require_once 'extenser.class.php'; $app = new Slim(); /* RESTful GET – convert number to text long format * @type : NUMBER = 0 | CURRENCY_REAL = 1 | CURRENCY_DOLAR = 2 | [...]

Extenser API – RESTful webservice

I implemented a simple API for Extenser just for fun and educational proposal. Now, you can create your software or use it in your website as you want. URL: api.extenser.com.br Technology RESTful with Slim Framework PHP 5 Method GET URL: /:type/:separator/:value :type is: 0 (zero) for Cardinal numbers; 1 for Currency Brazilian Real; 2 for Currency Dolar; [...]

My essential Apps for iPad

Here is my essential list of App for iPad. Productivity Evernote: notes, receipt, audio notes, meeting, financial  documents, and much more. See the other article called My way to control things to do – Chapter 3 Software for Reference. FREE. Wunderlist: task list control. FREE Office Calcbot: calculator. $1.99 Instaviz: diagram sketching for example for process workflow. [...]

Debug PHP Web Application

At the time I started programming with PHP (2003) was very difficult to debug web applications. But now, it is very simple. What you need? A IDE - Eclipse PDT All-in-one A server - Zend Server Community Edition Download, install and open this applications above! How to setup the Eclipse? First, you need to create a new PHP project and your “home page”. [...]

Extenser beta was launched!

Extenser beta was launched. For now, only in portuguese. www.extenser.com.br What is the Extenser? Extenser is a webapp to convert number to its text format. For example: convert 29 to twenty nine. In this version Extenser convert: cardinal, currency (R$ and Dolar) and ordinal numbers. This project was made with: PHP 5.3 HTML 5 Javascript [...]

Ajax is easy!

First, what is ajax? “AJAX is the art of exchanging data with a server, and update parts of a web page – without reloading the whole page.” w3schools.com I used in this example: PHP 5.3 Javascript JQuery JSON HTML5 Which files did I use? index.php: Page that user request the data; getdata.php: PHP script to [...]

Bepuu Beta was launched

Today, I launched the first Bepuu beta. www.bepuu.com.br This project was made with: PHP 5.3 HTML 5 Javascript JSON/Ajax Bootstrap, from Twitter JQuery 1.7.1 MySQL APC (Alternative PHP Cache) Cron Job Features: Upload any type of file. Max size is 90MB. I still trying to setup the host to support until 300MB. The file is available [...]

My way to control things to do – Chapter 1

I will write here how I control my things to do. It is based in methodology, like Get Things Done (GTD). I divided it in some various post and I pretend to show which softwares I use, and how I use it. First I need to explain some concepts. In all life we have tasks, [...]