Laravel vs CodeIgniter: Which is Better? What is Laravel? Laravel is an open-source widely used PHP framework. The platform was intended for the development of web application by using MVC architectural pattern. Laravel is released under the MIT license. Therefore its source code is hosted on GitHub. It is a reliable PHP framework as it follows expressive and accurate language rules. What is CodeIgniter? CodeIgniter is a powerful PHP framework. It is built for developers who like a simple and elegant toolkit to create full-featured web applications. CodeIgniter is one of the best options for creating dynamic websites using PHP. It provides complete freedom for the users as they don't need to depend on the MVC development pattern. Moreover, it allows third-party plugins which can be useful to implement complicated functionalities. It also offers awesome security and encryption procedures. Why use Laravel? Laravel offers version control system that helps with simplified management ...
route==$route['webapi/app/(:any)/?(:any)/?(:any)/?(:any)'] = 'api/index'; contrloer=<?php /** * create all api details..... ** * www.domain.com/webapi/app/top-header ** * */ error_reporting(0); header("Access-Control-Allow-Origin: *"); header("Access-Control-Allow-Headers: *"); class Api extends MY_Controller{ var $status="error"; var $msg="No found data."; var $data="No found data."; public function index(){ $type = $this->uri->segment(3); witch($type){ case 'invoices': $this->data=$this->get_invoices(); break; case 'get_invoices_by_id': $this->data=$this->get_invoices_by_id(); break; case 'register': $this->data=$this->register(); break; } $set['status']=$this->status; $set['msg']=$this->msg; $set['data']=$this->data; echo json_encode($set,JSON_ERROR_CTRL_CHAR); } /* public function register(){ $id=$this->input-...
EK TABLE DATA MAI CONDITION DI HAI KI AGR CONDITION TRUE HOTI HAI TO MTLB MAIL SEND HOTI HAI AGR TO FIELD COLOR GREEN(SUCCESS) HO JAE NAHI TO ORANGE(WARNING) RAHE...... <td> <?php if($item->send_mail == "1"): ?> <label class="label label-success"> Success </label> <...
Comments
Post a Comment