PHP & More

A technical blog about programming in PHP and about technology in general: programming, workarounds and troubleshooting

cURL is a tool used for browsing the web from the shell or command-line. It supports many internet protocols, such as HTTP, FTM, POP3, IMAP, SMTP and more. See the full list here. With libcurl installed in your system and the C API, you can browse using a C program. You can also install the …

Continue reading

Backbone.js is a Javascript framework known as MV* (Model, View and stuff). This framework has the Backbone.sync function to perform CRUD (Create, Read, Update, Delete) operations. In order for a model object to perform these operations, it should have a property named ‘url’. The ‘sync’ function receives 3 arguments: method, model and options. Model objects …

Continue reading