This are some of the methods when working with PDO. Continue reading
I came with a new video tutorial. This one is about how to properly configure the session library in CodeIgniter. Why this subject? Because, although it is clearly written in the official documentation about how to use the sessions, some people don’t ever seem to have the time to read. Continue reading
Well… Some people asked for video tutorials, and I do realise we are living in different times, but my spoken english is not that good. Please have a look at the tutorial and tell me your opinion. Continue reading
Good to know about how to transform an xml document into json:
$xml = simplexml_load_string($xml_string,'SimpleXMLElement',LIBXML_ NOCDATA);
$json = json_encode($xml);
$array = json_decode($json,TRUE);
Well… It seems that I’ve come to take an interest into Arduino micro-controllers. And they look great. At least the version I bought seems to be ready to be included into really serious projects, having with it some sort of plastic cover that allows me to fix it with screws. Continue reading
I want to be noted that this is not a tutorial about creating an MVC framework from zero. If you want that kind of tutorial, you can find a lot of them (https://www.youtube.com/playlist?list=PLfdtiltiRHWGXVHXX09fxXDi-DqInchFD https://www.youtube.com/playlist?list=PL7A20112CF84B2229).
There are moments in your programmer life when you are asked to do a small “landing page”, which actually turns out to be a “mini-website” with an “About” page, a “Contact” page and a few other pages. Continue reading
Hello again. I would like to present to you a small project I am working at. It is called Tusker, is made using CodeIgniter 3.x, and it is a simple task management web app. I sure hope you give it a try and tell me about new things to add to it. The Github repository can be found here: https://github.com/avenirer/Tusker
This question was proposed as a subject by one of this blog’s visitors. It is indeed a good question, especially considering that “CodeIgniter remained way behind other frameworks”.
So let’s think a bit about why would we use an “aged framework” when we have great frameworks like… and here the typical example is Laravel. Continue reading
I promised myself I won’t do anymore tutorials regarding CodeIgniter until a new version is about to appear, but I can’t help myself. And this subject seems more than appropriate for a new tutorial.
Let us start with the beginning. In routes.php (application/config/routes.php), we have a configuration parameter called “translate_uri_dashes“. If we set this parameter to TRUE, the CodeIgniter framework will translate the dashes (“-“) in our urls into underscores (“_”) when calling a controller or a method. This, of course is what we want in order to have “SEO friendly” URLs (although I think it’s strange that up until this moment, search engines can’t interpret an url). Continue reading