Category: Web Development

togetherjs_logo_transparent 1

TogetherJS – Javascript Collaboration plugin

I wanted to implement real time collaboration for a web application project of mine, so I started doing some research. It turns out that creating a website that is capable of real time collaboration is kinda difficult. In order to create something like that, one must use a technology like node.js and still it would be a pretty complicated problem to tackle. There are a few plugins that can help us with building an online collaboration tool but in my opinion the best by far is TogetherJS by none other than Mozilla.

Jetstrap bootstrap interface builder 1

Jetstrap – Bootstrap interface building tool

Jetstrap is a web based wireframing tool, that outputs functional Bootstrap code. You can use Jetstrap to create an initial mockup demo of your frontend, but when you are done instead of a pretty picture you actually get functional HTML Bootstrap code.

451 SMTP error 1

SMTP 451 error: CodeIgniter Email

I have encountered this SMTP error code while trying to send an email in Codeigniter using the SMTP method. I have encountered this problem only on one occasion, even though I have used the Codeigniter Email library multiple times. In order to fix this I had to do some core hacking

flow 4

Why use an IDE for PHP Development

In the great debate Text editors vs IDEs I am a strong supporter of the IDE corner. I strongly feel that having a full featured development environment is an important tool in the arsenal of every developer. Text editors have a lot to offer but there a lot of things that can be achieved only through the use of plugins. Let’s take a look at some of the most important features that IDEs have to offer.


AJAX Synchronous Call without freezing the UI

I was recently asked, by a good friend of mine if it’s possible to make synchronous AJAX calls without freezing the UI.
The short answer is: no.
However there are a lot of ways that you can get around this restriction, some more graceful than the others. In this article I will demonstrate three of them

Mysql get field names from table 2

Mysql get field names from table

I am currently developing a backend generator in PHP / MySQL. At some point in order to make the magic happen I needed to get the field names for a table and insert them into a table of my own, in order to store the metadata that I need to create the application.

pivot a table with dynamic columns in mysql 20

Pivot table with dynamic columns in MySQL

I have already written a post on how to pivot a table in MySQL, when the rows that we want to pivot into columns are somewhat predefined. Today I am going to show how you can achieve the same result, when the rows that we want to pivot into columns are not predefined but are dynamic instead

http_diagram 0

Carabiner, JS/CSS management library for CodeIgniter

Carabiner is a Codeigniter library that combines and minifies CSS and Javascript resources on the fly and caches the combined – minified version on the server. In a development environment, it can also output each resource separately, in order not to get in the way of debugging.

logo_small 0

Grocery CRUD – A Codeigniter library

I have already made a post about the importance of using a framework, in order to make your life easier and maximize your productivity. Using libraries is a way to go beyond the basics of the framework and amplify the advantages. Grocery CRUD is a library made by John Skoumbourdis that creates, as the name implies, a full featured CRUD for your backend with minimum fuss.

html5 4

HTML5: How to change the browser URL without reload

One less known feature of HTML5 is the onpopstate event. Using onpopstate you can change the browser URL via javascript, without reloading the page and the browser history will be updated accordingly. No longer do you need to use the hash(#) hack, if you want to add state in an AJAX powered application, and search engines bots will be able to crawl your pages and index them.