Friday, 30 January 2015

flask introduction and installation

Standard
after more days i have came back for give you something if you are new in python and web development and also you are not good in django then i will prefer you FLASK framework this is a nice and more easy framework and also flask have a good Document. so if you wan to hands on django then i prefer at first start flask then django Flask is a small framework by most standards, small enough to be called...

Friday, 28 November 2014

Monday, 27 October 2014

create thumbnail on image upload in django

Standard
Django does not provide any standard way of organizing thumbnails. Even though community has some applications to work with thumbnails, they are usually over kill if You only want to create a thumbnail for an ImageField. So here is my solution to handle thumbnails. To hande thumbnails I over-wrote my model's save method to read original image field into a StringIO, manipulate the image and save...

Monday, 6 October 2014

x-mvc form validation

Standard
in new x-mvc i have added form validation it is so simple and usable reference link : https://www.npmjs.org/package/x-mvc How to use Install from npm npm install x-mvc   Instantiate a new form_validation object req.library.load('form_validation'); /** construct a new form_validation object passing the data array to validate * date array should contain a set of objects formatted as following ...

Saturday, 27 September 2014

a pagination module/library for node.js (x-pagination)

Standard
today i have realize that this world not enough for future data then i think we need to hire MARS or other planet . so can not all data in one page it will more time consumption and not reliable and page will open so slow and if you have more data then page will time out so then we need a mechanism where we can handle all data smoothly and systemically that we need pagination all data will split...

Friday, 26 September 2014

x-image-processing a image processing package for node.js

Standard
x-image-processing a simple image upload and processing module in node.js and this image processing module under development but all time it usable So hope this library help someone like me. this module just cooked and i know this is not better test but i will try to give more better test so if you have any idea and suggestion so you can write in comment  i will be thank full for...

x-mvc a mvc package for node.js

Standard
x-mvc today i will give a small description on a recent cooked mvc package this is developed for node.js and also this is so easy just download and use it and also it development on going for more better test you can check this in - https://www.npmjs.org/package/x-mvc https://github.com/netai/x-mvc (if you have any idea or suggestion please write in comment it is very great full for me) this...