Protecting and licensing your PHP code: PADL – PHP Aplication Distribution Licensing

(Português) Colegas,

Mesmo trabalhando com software livre, várias vezes necessitamos
proteger nosso código.

Existem aí boas ferramentas (proprietárias) para isto, a que utilizo é
o Ioncube.

Mas, se precisamo pisar mesmo no mundo proprietário, é preciso
utilizar licenças com expiração, limitar por máquina, domínio, etc.

Nisto somente as ferramentas proprietárias fornecem, mas são caras (o
próprio Ioncube).

Pesquisando sobre o assunto, encontrei uma classe antiga, mas
muitíssimo bem feita. Atualizei o código, apliquei padrões de código e
documentação e “renasceu” a PADL: PHP Aplication Distribution
Licensing.

Espero que não seja uma heresia divulgar aqui o projeto, que a apesar
de ser livre, serve para fins proprietários. Mas considero isto
importante, e espero que seja útil.

Disponível para PHP 5.2 e PHP 5.3 (com namespace).

http://padl.rgou.net/

https://github.com/rafaelgou/padl

Symfony2 Docs in local HTML , ePub and (yes!) PDF

Many people are still searching on Symfony2 Docs site how to download a PDF version as we found at 1.4 version, but saddly there is no one. I prefer browse in HTML, but of course in the site it’s not the most confortable way. When I was trying to manually download the docs (monkey job), I’ve found an info about the format used to write the docs, the, o reStrucuturedText: Symfony – Documentation Format And there I’ve found how to use Sphinx (not the indexor, but the Python doc generator) to build the docs in HTML, Latex, ePub and PDF. […]

Deploying a PHP symfony 1.4.x application onto DotCloud

A friend suggested me to test Dotcloud Application Plattaform, which runs under Amazon Cloud. As I develop using PHP symfony framework, there is some problems to resolv. Well, after some resarch and studies, that’s my steps to make it happen. Create your account Go to Dotcloud and do it. Follow http://docs.dotcloud.com/tutorials/firststeps to make basic install of dotcloud stuff. Create namespace and applications First the namespace: dotcloud create myprojectname After the application: dotcloud deploy –type php myprojectname.www And a database application (in case, MySQL) dotcloud deploy –type mysql myprojectname.db Gets the MySQL user and password with dotcloud info command: dotcloud info […]

From SQL to NoSQL/MongoDB: Rethinking your developer life

We live in a massively relational world, storing our data in relational databases, using SQL to find, create, update and delete data, and the thought of storing data was invariably in this paradigm. But the Internet has grown exponentially, different needs has come and relational databases began to not suit the needs of many projects that can not be thought of for years and remain as they are for so many years ahead. Then, new types of storage approach emerged and stirred relational supremacy. And with the life of developers. In this article I discuss a little my history and […]