This article analyzes the reasons of using Object Oriented Programming for PHP newcomers. In my opinion anyone can found thousands of tutorials for Object Oriented PHP and Object Oriented Programming. But what about a different… newbie PHP approach?
My approach is to convenience newcomers from PHP background to learn Object Oriented Programming. As there are plenty of tutorials out there, I will try to explain only some basic things about OO Programming with a simple way.
Have you ever noticed that Codeigniter although a powerful framework is lacking of an important built-in library? Apparently the most famous PHP frameworks has a built-in layout library (many of us call it as template library). In the web they are plenty of template libraries for Codeigniter, but what about a different… simple approach?
Well Codeigniter Simplicity is exactly that! A simple layout library that I wanted to share with you. Visit Codeigniter Simplicity Website for more.
There are lot of articles who are talking about Frameworks and CMS systems. What to choose? Which is the best?
However I wanted to write an article from a totally different perspective. First of all I want to make sure that developers and customers understand the difference between the terminology “CMS” and “Framework” nowadays.
Don’t wait until your customer or … your browser(!) start to mention that your URL is way to big from the usually title.
Well the first thing that you realize when you install Codeigntier is that the URLs are really huge, not SEO friendly and not user friendly.
Let’s try to minimize as much as we can for your dynamic created URLs. Below we will explain and give solutions to minimize the URLs as much as possible with htaccess, some route tricks and the _remap() method of Codeigniter.
I just wanted to tell a small funny story as an introduction of the reasons why to not use csrf_protection in Codeigniter. If you though just want to read the reasons why, go straight away to 5 simple reasons for why not to use csrf_protection of Codeigniter…
For the other users just keep reading …
I just came across with two posts for Laravel Framework with two different opinions
Laravel is awesome and Laravel – a beautiful PHP framework that does not make me feel stupid but with the same conclusion (Laravel is awesome!). As both blog posts where intrested, I would like to have my opinion too with the Laravel framework and Codeigniter.
Image CRUD is an automatic multiple image uploader for Codeigniter. With the same philoshopy of grocery CRUD library. Just simple line of codes and you have all the functionality that you need.
Some of the main features of Image CRUD are:
- multiple selection of photos to upload the same time
- auto thumbnail croping
- auto croping for max size image (800px X 600px max)
- reordering the photos after the upload
- delete image
- auto renaming special characters
- adding a relation and automatically adding id from the url
For more you can visit the : official image CRUD website
This is a codeigniter CRUD. It is fully tested in codeigniter 2.0 and in 1.7.x. It is simple and has many features . The main feauture is that a customer can easily use this crud, not only a developer!!
Codeigniter is a great framework for php . It is simple and already helps lot of people to write faster code. The documentation is very good with examples for all the classes – functions.
But (there is always a but…!) in eclipse we used to have our own classes and when we write the “magic arrow” -> we are waiting to have a dropdown list with the functions/variables that the class have .
In Codeigniter till now we write for example $this->session-> … and then we go to the codeigiter website just to see what was the name of the function .
For that reason I created a fake Controller. This is only a fake Controller and it used ONLY for the autocomplete. You can copy paste it WHEREVER you like in the project (because is fake).