API / PHP / Programmings

Building a RESTful Service using CodeIgniter

Originally posted on Me Bhoomi:
I recently built a RESTful web service to integrate two web applications, and I thought I would document that effort for the benefit of others. If you need to implement a RESTful service, this tutorial will give you a quick start. First off, I am happy to report that the CodeIgniter PHP application framework…

Magento / PHP / Programmings

Display Products from Specific Category on Home Page – Magento

First you have to note the ID of category you want to display at the home page. You can find this on Magento Admin side under category tab. Then go to CMS>>Pages. Then Select “Home Page” from the list of pages. Add the following code to content tab of that page {{block type=”catalog/product_list” name=”home.catalog.product.list” alias=”products_homepage” … Continue reading

PHP / Programmings

Remove index.php from CodeIgniter url

By default, the index.php file will be included in your URLs. You can easily remove this file by using a .htaccess file with some simple rules. To remove index.php from codeigniter url follow the steps, Create .htaccess file on the root folder (in project folder). Add the following rule to that .htaccess file. RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f … Continue reading