CORS Gotchas

CORS stands for Cross-Origin Resource Sharing and represents a method of accessing/sharing resources across domains. These resources can be anything from web fonts to APIs. The CORS standard is only implemented in browsers, since this is the only place where it makes sense. While this is the preferred method …

Notes on RESTful APIs (Updated)

HTTP and REST are not new, we just misused them for a long time. A proper RESTful API should consider the following principles. Resources Resources are discrete entities - like entities from the Entity-Relationship Model. The web is modeled around resources. Everything is a resource, not a web page, not an …

ACTA, SOPA, PIPA, CISPA

It seems like the big players of the software and hardware industry are dead set to bring to life an incarnation of one of these laws. Never before in the history of computing has a piece of legislation been pushed forward so ferociously by so many significant companies. The core …

PDO vs MySQLi performance comparison

After reading this article on Nettuts, I was curious how PDO would compare to MySQLi in a real-world scenario, perfomance-wise. So I created a benchmark to dispell the myths surrounding this dispute. MySQLi is percieved to be the better performer, since it’s the official extension supported by Oracle. In …

Hello world

Hello world! Hell, it’s about time I launched this thing. While not being perfectly polished yet, it is close enough to what I wanted so I decided to give it a go. I will post here my findings, notes and scribblings related to web development. Hopefully I’ll do …