Yii – Caching
Caching is an effective way to improve the performance of your application. Caching mechanisms store static data in cache and get it from cache when requested. On the server side,…
Caching is an effective way to improve the performance of your application. Caching mechanisms store static data in cache and get it from cache when requested. On the server side,…
When we write a PHP class, we debug it step by step or use die or echo statements to verify how it works. If we develop a web application, we…
The Android platform includes a JET engine that lets you add interactive playback of JET audio content in your applications. Android provides JetPlayer class to handle this stuff. In order…
By overriding fields() and extraFields() methods, you can define what data can be put into a response. The difference between these two methods is that the former defines the default set of…
Android provides many kinds of storage for applications to store their data. These storage places are shared preferences, internal and external storage, SQLite storage, and storage via network connection. In…
The controller class extends from the yii\rest\ActiveController class, which implements common RESTful actions. We specify the $modelClass property so that the controller knows which model to use for manipulating data. Step 1 − Create a…
Sometimes you don't want an image to appear abruptly on the screen, rather you want to apply some kind of animation to the image when it transitions from one image…
Yii provides the following useful features for implementing RESTful APIs − Quick prototypingCustomizable object serializationResponse format (supporting JSON and XML by default)Formatting of collection data and validation errorsEfficient routingSupport for…
Android allows you to manipulate images by adding different kinds of effects on the images. You can easily apply image processing techniques to add certain kinds of effects on images.…
Android allows us to integrate google maps in our application. You can show any location on the map , or can show different routes on the map e.t.c. You can…