Programming
Cannot load mysqli extension. Please check your PHP configuration
by Samet Kilictas on Aug.25, 2009, under PHP, Programming, Tips
Probably you are trying to access your phpmyadmin. You will get this error if you have more then one “php.ini” file in your system. It is kinda conflicting. For instance i have wampserver2.0 and IIS7 together in my current system. I have activated IIS7 FastCgı method to use php on it. So it has one php.ini file at path of “c:\wamp\….” and another one in “c:\Program Files\Php” . You can get a temporary solution if you rename your php.ini file which is in your “program files” path.
That is it.
Gedit Modifications for PHP
by Samet Kilictas on May.17, 2009, under General, Linux, PHP, Programming
Since i am coding with codeigniter framework on gedit, i was looking for snippets for codeigniter on gedit
download gedit snippet for codeigniter
By the way if you want to make your gedit more useful for programming surely you may add some third party plugins as many as you want or simply just active default plugins. Idea is that firstly download a plugin then extract its content to ‘~/.gnome2/gedit/plugins/’ directory. Once you have installed the plugin you want, you need to enable it via Edit>Preferences and then the Plugins Tab. Such as;
- Snippets
- Class Browser
- Bracket Completation
- Character Map
- Embedded Terminal
etc..
You can basicly find out third-party plugins by clicking on this link
What is MVC Architecture? (Model – View – Controller)
by Samet Kilictas on Apr.19, 2009, under General, Programming
MVC Architecture has implemented by Trygve Reenskaug at 1979 for the first time. It was implemented on Smalltalk at Xerox labs. Then benefits and advantages of this architecture has been accepted by most of the coders and software engineers.
It was an information about MVC’s history above. Now lets talk about what really MVC is. What do you understand from MVC. The word M stands for Model, V stands for View and C stands for Controller. I am going to mention about each item.
The figure above may help you while thinking what structure it might have. Let’s start with Model.
Model:
It handles data processing and database works part. Model processes events sent by controller. After processing these events then it sends processed data to controller (thus, controller may reprocess it) or directly to view side.
View:
View prepares an interface to show to the user. Controller or model tells view what to show to the user. Also view handles requests from user and informs controller.
What is PHP?
by Samet Kilictas on Apr.18, 2009, under PHP, Programming
First of all i need to say that PHP is a language which you are going to in love with. (That is of course if you are a developer ) PHP stands for PHP: Hypertext Processsor.
To start with it you should have knowledge about basic scripting and HTML language.
PHP is totaly free to use and download that is because it is an open source. Well there are many scripting languages on the earth. PHP is server-side scripting language. It means codes are executing on the server-side not in the client-side.
Thus, clients cannot see your php script, a client can only see pure html content. Now i can say PHP is secure langauge since user cannot see your PHP code. How it works? For instance, a client (user) requests a webpage from your server. Then your server executes php code and returns pure html content to the user. And user have no chance to see what is going on at the server-side.
Extensions : .php, .php3, .phtml
Let’s get started with jQuery
by Samet Kilictas on Feb.27, 2009, under General, Jquery, PHP, Programming
Nowadays you may see tons of Javascript frameworks coming up. The truth is that it makes your code efficient if a framework used instead of pure javascript code. Most of the javascript frameworks helps you to solve crossbrowser difficulties. Probably you heard about Prototype and MooTools. You may see some people are trying to decide between these frameworks. I should say i am fan of jQuery. jQuery comes with tons of futures and flexibility and you can do a big work with less effort and it is not just a regular library however jQuery is even ajax and effect library. It does evertything i need with piece of code.
jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript.
Let’s say you are using some other libraries as well, there it goes, jQuery is such a good friend with other libraries. API designed with conciseness and convenience as the driving factors.
Before start with jQuery i want you to know some basics about it. You can download the framework basically from www.jquery.com then download it on your desktop. This is how jQuery places in html code.
<html> <head> <strong><script type="text/javascript" src="jquery.js"></script></strong> <script type="text/javascript"> <strong>// Your code goes here</strong> </script> </head> <body> <a href="http://jquery.com/">jQuery</a> </body> </html>
You can start with placing your core *.js file which is jquery.js for this example.


Thanks for dropping by! Feel free to join the discussion by leaving comments, and stay updated by subscribing to the 