Writing JS tests with fun using Jasmine

Today I’ll talk about JavaScript tests using a cool testing framework: Jasmine.

I’ve been talking about unit tests, acceptance tests, and now I’ll show how you can test your JS code. Jasmine is more than a test framework. It’s more related with BDD because it provides a fluent API that can be understood as scenarios/steps and also improve our code design as consequence.

Well, lets start!
Continuar lendo Writing JS tests with fun using Jasmine

Autocomplete em Input | jQueryUi + PHP

Hallo coders,

Neste post irei abordar um dos plugins do framework jQueryUI: o Autocomplete.
Na documentação é possível encontrar um exemplo bem simples e fácil de entender, porém no meu exemplo farei com que o valor do array do autocomplete seja populado com valores armazenados no banco de dados.
Continuar lendo Autocomplete em Input | jQueryUi + PHP