It's been a while since I have done this type of brain storming stuff. Today is my country's victory day and I have got some free time. Objective: I have a inventory model named Item. An item can have many attributes such as height, width etc. Think about a system where more attributes can be…Read more Dynamic form field based on another model’s entries and save them in a m2m way in Django
solution
IntelliJ IDEA + Phonegap + Android SDK + Genymotion + linux
It is bit tricky to do this all together. Let me give me a overview why I choose these tools . IntelliJ IDEA is an IDE I love working on. Actually for all of my developing purpose I use Jetbrain's Product. PhpStorm, PyCharm, WebStorm. Since, it is not targeted for native android development choosing Android…Read more IntelliJ IDEA + Phonegap + Android SDK + Genymotion + linux
Solution of infinite digest loop for ng-repeat with object property filter in AngularJS
Few months ago I wrote a code in AngularJS which was something like this: <ul ng-repeat="course in courses|filter:{is_taken:true }" > <li>{{ course.name }}</li> </ul> It was generating a digesting loop error. Though the data was showing correctly. Soon I realized that it was generating because for each turn in ng-repeat loop, courses are filtered…Read more Solution of infinite digest loop for ng-repeat with object property filter in AngularJS
AJAX requests in CakePHP without disabling SecurityComponent
Security is always a big deal for a software specially for web app where you don't know your users' intention. To ensure some common security measure, CakePHP provides SecurityComponent with its core. Let's come to the point. If you try to POST any request through AJAX, you will get Bad Request exception and your request…Read more AJAX requests in CakePHP without disabling SecurityComponent