Skip to main content

Posts

Showing posts from June, 2015

Form Submission using CAPTCHA

“Completely Automated Public Turing test to tell Computers and Humans Apart” in short CAPTCHA . Before I could start, I know there are people who are expert in Captcha, there are people who may be newbie and some may be intermediate. I will try my best to put some sound information on this topic which could be useful for different levels. Now, why we need to separate Human and Computer when both are working on some interface to achieve something together. Yes it is required, because there have been continuous challenges in saving and posting the non-redundant data on internet safely. For the companies who provide the free email accounts, could be a victim of bots (bots are normally web robots, usually a program/script which runs on regular interval), that will create thousands of free email accounts if the User Registration Form has not been handled properly. There are hackers and/or unauthorized users who will run some automated scripts and try to use the form data for their...

Application Logging on your way

Development and Debug are two most important phase in Software developers life. Whenever we talk about debugging we come across so many tools, best practices, coding styles etc. Logging is one of the most popular and mandatory concept of debugging the application. I will say that this is one of the most crucial elements for monitoring and analyzing the application. Using proper logging mechanism, we can not only find out the description about errors but also could take certain decisions for improving system performance. It helps in identifying the issue and their cause. Sometimes we can also generate metrics based on current logs to set the target for future road map for the application. Types of Logging: Use Log for Debug - To know the issue, for recording request and responses, for knowing system performance and many more. Logs could contain the end to end session for an user.  Use Log for Knowing Stats - You can log for counting number of...

ReST - Representational State Transfer

ReST - Stands for Representational State Transfer There are numerous notes available on net for developing ReSTful web services. If you go through each of them it feels like confusing and conflicting. Sometimes it is because of technology advancement or because of improper explanation. Whatever information I am providing today may not fit after few years J So, I will start the discussion and will try my best to give accurate and reliable notes that will help you understanding the in and out of ReST services. What is ReST? People get confused whether its pattern or standard or architecture. As far as I have worked and understood, ReST is architecture for developing services. ReST services run over stateless protocol (mostly on HTTP). There are other technologies/standards are available for implementing services which will help connecting two different systems together (irrespective of their own implementation). For example we can achieve the same output using CORBA, R...