This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
Tag: CodeIgniter
-
How to code dynamic menus using CodeIgniter?
I recently worked on a project in which we initially hardcoded the menus in the index.php, as the menu options started to increase I decided it was time to make the menus dynamic. What do I mean by dynamic, in my view dynamic menus allow any admin to build up a menu tree.
-
Scaling your RESTful API in CodeIgniter 3.X
I recently wrote about How To Work With RESTful Services In CodeIgniter 3.X – today’s topic is how you extend the CodeIgniter REST server to give your APIs better availability and reliability.
-
How to add UUID to CodeIgniter Crud library Grocery Crud
I recently had a need to use UUID as my primary key for an application that I have architected using the CodeIgniter framework with Grocery Crud on a MySQL database. UUID (Universally Unique Identifiers) also known as GUID (Globally Unique Identifier) is a great way to make each of your primary keys a unique key, […]
-
How to disable MySQL strict mode on CodeIgniter
I recently installed a CodeIgniter 3.x application and another PHP application on a new server, I did run into some issues immediately, the apps were broken, it connected to the database. Did not allow me to insert new data, gave me an error, took me some time to figure it out, the issue was that […]
-
How to work with RESTful Services in CodeIgniter 3.x
With the new release of CodeIgniter 3.0, one of the powerful add-on features to Codeigniter is the RESTful API server and client libraries. I will explain in this article how I use the Yggdrasil Codeigniter 3.x repo to create a RESTful API for your web applications, and demonstrate how to interact with your own API or other […]
-
Using AlchemyData News API with Codeigniter 3.x
Alchemy has recently launched an API that gives you access to news and blog content already enriched with Alchemy’s full suite of natural language processing services. The AlchemyData News provides businesses with the ability to query the world’s news like a database. Please note that the AlchemyData News has been discountinued
-
Connecting backend CodeIgniter to two databases after receiving an API call
The use case I got was to connect to a 2nd Db, to retrieve data from a 2nd database and respond with a JSON string, the request would come in as an API call that looks like this “localhost/api/1/noonreport?API-KEY=oBThDgLsHOi8WJpwgf6IvJVQQ45E9LTudUN9i1RL”
-
Using a database table and Google’s Visualization Geo API in CodeIgniter
In this code example, I will show how you in PHP can use Google’s Visualization GEO API with Yggdrasil web platform that is based on CodeIgniter.