Posts

Showing posts with the label cakephp application

Benefits of using Colocation Hosting

Colocation is an option of hosting for small scaled  businesses who demand the features of a vast IT department without much costs. Many of large corporate sectors have the net infrastructure to host web servers and have a group of IT professionals for managing and designing the site which small companies do not. Options are available in a wide range from typical hosting up to the running of their own Web servers in a dedicated link. One of such options is Colocation. It is a type of web hosting service that allows the companies for buying rack spaces in the data centers. There users can store and manage their server equipment. These Data Centers eases the built for Colocation services of hosting and following it companies can do have their own working servers without putting them on their campus. Colocation provides the associated Companies with much better defined flexibility of installing the operating systems as well as other important tools according to...

CakePHP for buidling your web app = great choice!

CakePHP is a PHP framework that simplifies the way you do programming. What do I mean by “framework”? This concept is best explained by making a comparison with traditional application scripts: a typical PHP script starts at the top and proceeds to the bottom while utilizing included classes to create objects and processes the intended logic. An error in your syntax ruins everything, and you need to manually code database connections and other activities not native to the language. MVC Pattern Model support data handling, with model class you can insert, update, delete or read the data from the database. View support data rendering on the screen. Controller process and responds to events and can modify data before it interact with the model (database). With this pattern it’s very easy to separate the logic from the presentation, which is very useful for large applications and sites. Faster development CakePHP shaves a lot of time off your typical coding assignme...

How to post a ticket in kayako using rest api from a cakephp application?

Nowadays REST API (web services) development based on RESTful architecture  is accepted across the Web as a simpler alternative to SOAP – and Web Services Description Language (WSDL)-based Web services. Key evidence of this shift is the adoption of REST by web 2.0 service providers, including Yahoo, Google, and Facebook, who have shifted their SOAP and WSDL-based web services to RESTFul API. RESTful development has become the standard way of creating a web application. How to post a ticket using rest api? To post a ticket using rest api we have to post the data using an http post request. That can be done by using curl, but cakephp has Http Socket which makes http post easier than the curl. You can post ticket as a staff or a client user, the difference lies only in a single field that we post. To create ticket as staff we have to pass “staffid” and to create ticket as a client we have to pass “userid” in post. Example : $apiUrl = $api_url.”e=/Tickets/Ticket...