Memcached is a general-purpose distributed memory caching system. It is often used to speed up dynamic database-driven websites by caching data and objects in RAM to reduce the number of times an external data source (such as a database or API) must be read.
Redis is a flexible, open source and advanced key-value store. It is referred to as a “data structure server” where keys can contain strings, lists, hashes, sets and sorted sets of strings.
The main differences between them are listed below:
Comparing ease of Installation Redis is much easier. No dependencies required.
For simple key-value pairs memcached is more memory efficient than Redis. If you use Redis hashes, then Redis is more memory efficient.
Use of a sortable column in a listing view. For example there is a list of “Programs”. Here our controller is named as “Programs” and the model is named as “Program”.
Here are the steps to Implement Sortable Columns in Rails through Helper. Add the following helper methods to the controller. In the view (index.html.slim) file add the helper method “sortable” in the columns you want to sort.
The WebView class is a subclass of `android.view` class that facilitates to fetch external URL running in web server and display in device screen easily.
It is very useful to display dynamic contents from the web server application. External website URL should have UI contents compatible with the android device’s screen resolution.
You should do minimum security checks before releasing the rails app to the public. The possible threats could be hijacking user accounts, manipulate access control, accessing sensitive data, doctoring with garbage contents. You should act proactively to protect your valuable information.
Here you go with some useful security tips which you cannot ignore. Courtsey,:Ruby on Rails Security Guide.
Don’t trust logged in users (Authentication != Authorization)
Always check whether the current logged in user is allowed to perform operation like create, update, delete and view.
Devise, a library which handles authentication, to verify that you can only get to the destroy action if you’re logged in. However, Devise does not handle authorization.
Apart from authentication authorization must be checked prior to allow any data sensitive operation.
What does “Testing” means ?
Testing of a product of services is an investigation to find out how well it is working against the expectation. Thus the quality of product can be assessed. Whether computer hardware or software development, testing is done at key checkpoints in the overall process to determine whether objectives are being met.
Core Image is a powerful framework for image processing and analysis technology designed to provide real-time processing for still and video images. This helps you easily apply filters to images, such as modifying the hue, exposure or vibrant. It uses the GPU or CPU rendering path to process the image data very fast.
Core Image can be chained with multiple filters to an Image or video frame at once by creating custom effects. Core Image provides us more than 90 built-in filters on iOS and over 120 on OS X. You can set up filters by supplying key-value pairs for a filter’s input parameters. You can use the output of one filter as the input of another filter, to create amazing effects.
‘Redis’ is an Open source key-value data store. Key values are more complex types like Hashes, Lists, Sets or Sorted Sets.
It is a highly scalable data store which is shared by multiple processes, multiple applications, or multiple Servers. Redis also supports datatypes such as Transitions, Publish and Subscribe.
‘Redis ’ is considered more powerful than ‘Memcache’ . It would be smart to bring ‘Redis’ into practice and put ‘Memcache’ down for a while.
We provide one-stop solution by utilizing Redis server with Rails , PHP applications and deploy in cloud services such as AWS to make sure that the application is fully scalable.
CakePHP is an open source PHP based rapid development framework. It offers great run-time infrastructure along with abundant set of libraries for CakePHP developers.
CakePHP Development is supported by the MVC (Model View and ControllerCakePHP Developer) architecture which differentiates the programming logic from the presentation layer.