Posted On 04 January 2015 By MicroPyramid
Writing Different Types of Views in Django-Rest-Framework.Writing Different Types of Views in Django-Rest-Framework. Django-Rest-Framework(DRF) supports three different types of views. They are Function Based Views, Class Based Views / Generic Views, ViewSets
Posted On 29 December 2014 By MicroPyramid
Memcache is a memory caching system that helps web applications and mobile app backends to improve performance and scalability. We should consider using Memcache when your pages are loading too slowly or your app is having scalability issues. In This Blog Post, Let's see how to use Memcached for server-side application caching.
Posted On 04 December 2014 By MicroPyramid
Generators are memory efficient. They allow us to code with minimum intermediate arguments, less data structures. Generators are of two types, generator expressions and generator functions. Generators are helpful for reading large files, streaming.
Posted On 03 December 2014 By MicroPyramid
DjangoRestFramework is widely used to develop restful API. Django REST Framework is easy to use who are familiar with Django, as it is developed on the core concepts of Django. In the current blog post we’ll learn how to develop a RESTful API that performs CRUD operations on the DB.
Posted On 25 November 2014 By MicroPyramid
In order to customize models, views and urls, you need to fork an Oscar core app in which model/view resides. Then you should be able to override any model/view classes.
Steps to fork/customize an app:
1. If you are forking an Oscar app for the first time, then you have to create a root apps-folder in which all your forked apps will exists:
Posted On 20 November 2014 By MicroPyramid
Web-hooks play vital role if you are in Continuous Integration(CI). Higher Level organizations follow GitLab for CI purposes if they operate on open source solutions and at times every developer needs to check his code integrity. At times like that, web-hooks can help us.
Posted On 16 November 2014 By MicroPyramid
Befor launching an application we should test the app to ensure that the application is working as per your requirement or not and to deliver defect free product on time, within the budget. If there is no testing, then there is no quality product.
Posted On 15 November 2014 By MicroPyramid