Posts

Showing posts from January, 2014

API design best practices

API Design summary 1. Use two base URLs per resource 2. Keep verbs out of your base URLs 3. Use HTTP verbs to operate on the collections and elements 4. Be consistent either use plural nouns or singular nouns 5. Use concreate names rather than abstract names     An intuitive API uses plural rather than singular nouns, and concrete rather than abstract names 6. keep your API intuitive by simplifying the associations between resources, and sweeping parameters and other complexities under the rug of the HTTP question mark. Handling errors Errors boil down to Everything worked - ok The application did something wrong – client error The API did something wrong – server error In summary, be verbose and use plain language descriptions. Add as many hints as your API team can think of about what's causing an error. eg: HTTP Status Code: 401 {"status" : "401", "message":"Authenticate","code": 20003, "...

SCEA Exam

Details on Sun Site http://www.sun.com/training/certification/java/java_archj2ee.html http://www.sun.com/training/catalog/courses/CX-310-051.xml Link to Whiz Labs Has good information about the Exams, and simulators. http://www.whizlabs.com/scea/scea.html Sun Developer Network Tutorials for J2EE http://java.sun.com/j2ee/learning/tutorial/index.html Java Ranch post contains some good information This is summarization of notes so better study and read this http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=26&t=000441 Has Links to Other Sites EJB and Java http://www.freeprogrammingresources.com/javabean.html

Design Patterns

Basic Design Patterns (23)  in Software Development: Design Patterns are recurring solutions to design problems encountred in software development. In elobarating further design patterns are like blue prints or already modeled solutions which may fit into a problem and provide a better solution. but it should be noted the implementation will vary depending on the problem scenario and context.       1. Creational Patterns (5) - Creates objects for you       2. Structural Patterns (7) - Puts together Larger structures       3. Behavioural Patterns (11) - Help control communication and flow between objects There are certain suggestions that need to be adopted when using design patterns Program to an interface and not to an implementation Favor object composition over inheritance 1. Creational Patterns -   Factory - Provides a simple decsion making class that returns one of several possible  ...

PHP Frame works - Intro

The following are few of the best PHP frame works available Kohana  - Kohana is a PHP 5 framework that uses the Model View Controller architectural pattern. It aims to be secure, lightweight, and easy to use Zend  - ZendFramework is based on simplicity, object-oriented best practices, corporate friendly licensing, and a rigorously tested agile codebase Symfony  - Symfony is a full-stack framework, a library of cohesive classes written in PHP Cake PHP  - CakePHP enables PHP users at all levels to rapidly develop robust web applications. Qcodo  - Qcodo Development Framework is an open-source PHP 5 framework that focuses on freeing developers from unnecessary tedious, mundane coding.