Quantcast
Channel: useful web programming snippets
Browsing latest articles
Browse All 3 View Live

Image may be NSFW.
Clik here to view.

A very light implementation of Session table in Mysql 5.6

Every web app that needs to track user activity, should have a mechanism to cache session; so nearly after every request, we need access into it; storing sessions in disk as MyISAM or InnoDB table is...

View Article



Image may be NSFW.
Clik here to view.

JSONObject, JSONWriter and JSONTokener of org.json explored by example

Today we put into your hands the third peace of code which illustrates easy, simple and common uses of the org.json package (not all classes, but most useful which we think are: JSONObject, JSONWriter...

View Article

Image may be NSFW.
Clik here to view.

Map Mysql tables to java beans, by a simple persistence class

If you like to retrieve Mysql tables into java objects, with one class file and without any external libraries or a mapping configuration file, we put into your hands DBHelper java class file, to make...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images