<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>data-format &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://wordpress.com/tag/data-format/</link>
	<description>Feed of posts on WordPress.com tagged "data-format"</description>
	<pubDate>Sun, 20 Jul 2008 07:03:19 +0000</pubDate>

	<generator>http://wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[A handy checklist for testers and programmers]]></title>
<link>http://mohitvalecha.wordpress.com/?p=123</link>
<pubDate>Fri, 18 Jul 2008 15:49:29 +0000</pubDate>
<dc:creator>mohitvalecha</dc:creator>
<guid>http://mohitvalecha.wordpress.com/?p=123</guid>
<description><![CDATA[As a programmer i always felt the desire and importance of a handy checklist which could help progra]]></description>
<content:encoded><![CDATA[<p>As a programmer i always felt the desire and importance of a handy checklist which could help programmers and testers to code and test their applications. After lots of research, i made one which is presented below. Please feel free to comment and provide suggestions and feedbacks.</p>
<p><strong>Source Code Testing:</strong> </p>
<ol type="1">
<li>Source Code history</li>
<li>Use of readable indentation for source</li>
<li>Source Code optimization</li>
<li>Source Code Comment documentation</li>
<li>Source Code Backup</li>
<li>Appropriate naming conventions for source files</li>
<li>Appropriate storage location for source files</li>
<li>Appropriate use of Transactions wherever required</li>
<li>Appropriate use of Stored Procedures wherever required</li>
<li>Use of functions for code reuse</li>
<li>Use of Common library</li>
<li>CSS Code to be separated from the source code</li>
<li>AJAX code to be separated from the source code</li>
<li>Use of version control mechanism</li>
<li>Source Code encryption mechanism</li>
<li>Appropriate use of sessions / cookies</li>
<li>LDAP authentication</li>
<li>Following the standards. (for e.g. XHTML 1.0 standard for web coding).</li>
<li>Appropriate naming conventions for functions used and functions in the common library</li>
<li>Appropriate Folder structure for source code files</li>
<li>Clearance of extra comments, unnecessary code, echoes, alerts, type texts</li>
<li>No hard coding should be present </li>
</ol>
<p><strong>Database Testing:</strong> </p>
<ol type="1">
<li>Appropriate linking of tables</li>
<li>Normalization</li>
<li>Naming Conventions</li>
<li>Appropriate storage engine is used</li>
<li>Optimized field types are used</li>
<li>Backup function</li>
<li>Appropriate use of Triggers</li>
<li>Encrypted storage of confidential data</li>
<li>Compressed storage of big data</li>
<li>Appropriate prefixing for special characters before storage</li>
<li>Scalability</li>
<li>Database Document - Design schema with sample data</li>
<li>Appropriate filtering of data before storing into the database</li>
<li>Appropriate default values for table fields</li>
<li>Appropriate comments entered for table fields</li>
<li>Database Design query with sample data to be documented </li>
</ol>
<p><strong>UI Testing:</strong><strong> </strong></p>
<ol type="1">
<li>Consistency of screens</li>
<li>Consistency of background colours</li>
<li>Usage of pleasant colours</li>
<li>IPR violation with logos, images, colours, text</li>
<li>Consistency across multiple browsers (IE, Mozilla, Netscape)</li>
<li>All controls on the screen should be accessible through keyboard / Keyboard shortcuts</li>
<li>Various screen sizes testing</li>
<li>Various Platforms testing</li>
<li>Best Configuration message on home page</li>
<li>Appropriate tool tips for all elements on UI</li>
<li>All dropdowns heights and widths, symmetry and consistency</li>
<li>Textboxes height and width</li>
<li>Overall symmetry</li>
<li>All kinds of necessary validations for blank data inputs, illegal data inputs</li>
<li>Warning, error window sizes and placement</li>
<li>Test for SQL injection</li>
<li>Testing for over limit, under limit, different data types, null inputs</li>
<li>Testing for Reflection, no variable/class/method names should be hard coded</li>
<li>Print all the output reports and test them for alignment, proper page breaks, formatting, paper size, data readability and completeness</li>
<li>Scalability for various technologies, if yes, define configuration and process steps for migration</li>
<li>Backup</li>
<li>Backup Procedure documented</li>
<li>Auto/Manual Backup</li>
<li>All necessary documentations: commenting the code, flow chart, database design/schema, table design/scheme, user manual, source code/files naming conventions, ER diagram, help files, researched material</li>
<li>Testing for SOX compliancy</li>
<li>Overall user friendliness &#38; aesthetics</li>
<li>Should be best viewable with 800x600 resolution</li>
<li>Maximizing, minimizing, resizing of windows to be possible</li>
<li>Positioning of cursor on the first editable field in Data entry screens</li>
<li>Every screen should have one Default button</li>
<li>Acknowledgment of error messages should take the control to where the error occurred</li>
<li>The Title bar should contain appropriate title</li>
<li>Every screen should have a title/header</li>
<li>Ease of use without any help</li>
<li>Grammatical correctness of error messages</li>
<li>Correct grammar for texts, field names, tool tips</li>
<li>Grammatical correctness of Help text</li>
<li>Text box lengths should correspond the length of data they take, wherever possible</li>
<li>Default values to be populated wherever possible</li>
<li>Consistent behaviour when screen resolution is changed</li>
<li>Consistency of margins and header and footer</li>
<li>Consistency of Colour of form</li>
<li>Consistency of Size of form</li>
<li>Consistency of fonts used for labels</li>
<li>Consistency of Size of buttons</li>
<li>Consistent use of animations/graphics</li>
<li>Consistency of labelling of controls (buttons, boxes)</li>
<li>Consistency of length of textboxes for the same field</li>
<li>Consistency of formats for date fields</li>
<li>Effective reuse of repeatable visual themes</li>
<li>When a button is clicked</li>
<li>When an error is encountered</li>
<li>When a field is being validated</li>
<li>Should support users' sequence of accomplishing a task</li>
<li>‘Back' and ‘Home' links to be provided</li>
<li>Correct order of tabbing</li>
<li>Text to be selected when tabbing to a textbox</li>
<li>All tab controls should be accessible thru' keyboard</li>
<li>Shortcut keys (hot keys) to be unique</li>
<li>Links should be obvious and consistent</li>
<li>Functioning of the ‘Back' and ‘Forward' functions of the browser</li>
<li>Check if all links are active</li>
<li>Alignment of labels</li>
<li>Alignment of buttons</li>
<li>Anything that needs user action must be communicated</li>
<li>Feedback should be provided whenever relevant</li>
<li>Minimum usage of pop-ups and message boxes</li>
<li>User errors must be communicated</li>
<li>Availability of Help feature</li>
<li>Availability of Context-sensitive help, wherever needed</li>
<li>Buttons should be enabled/disabled depending on context</li>
<li>Non-editable text fields should be distinctly visible from others</li>
<li>Messages and labels should be accurate and appropriate for the context</li>
<li>Check if all links lead to meaningful points</li>
<li>Use of familiar and comfortable language</li>
<li>Abbreviations and code language to be used minimally</li>
<li>Help and Search links should be distinctly visible</li>
<li>Visible font for all text</li>
<li>Avoid all CAPS text</li>
<li>Help messages to be clear and concise</li>
<li>Error messages to be clear and concise</li>
<li>Should avoid horizontal scrolling</li>
<li>Should avoid vertical scrolling as much as possible</li>
<li>Logical ordering of controls</li>
<li>Position of controls should be meaningful</li>
<li>Grouping of related info. and data</li>
<li>Appropriate label for grouped data</li>
<li>Drop down/combo box menu to be ordered</li>
<li>Toggling of checkboxes</li>
<li>Checking/un checking of checkboxes through space-bar</li>
<li>Single choice for radio-buttons</li>
<li>Access keys (Keyboard shortcuts) letter should be underlined when visible on the UI</li>
<li>Frozen grid titles</li>
<li>Horizontal alignment of tables, body, div, span, data grid</li>
<li>Vertical alignment of tables, body, div, span, data gird</li>
<li>Mandatory fields should be distinctly marked in the UI </li>
</ol>
<p><strong>Functional Testing:</strong><strong> </strong></p>
<ol type="1">
<li>Basic Data flow is working properly</li>
<li>To be able to add data and save it correctly</li>
<li>To be able to edit data correctly</li>
<li>To be able to copy data correctly</li>
<li>To be able to delete data correctly</li>
<li>Cancel function</li>
<li>Logout function</li>
<li>Change Password feature</li>
<li>Password Complexity</li>
<li>Password History</li>
<li>Various authentication levels</li>
<li>Application should be accessible thru' URL as well as IP address</li>
<li>Time to load the application must be appropriate</li>
<li>Search Function</li>
<li>Search facility should be flexible (wildcards, mixed case, partial strings etc.)</li>
<li>Prompt to save unsaved data while trying to move to next screen</li>
<li>Password validation</li>
<li>Positioning of pop up windows</li>
<li>Field vs. form level validations</li>
<li>Destructive actions to be confirmed</li>
<li>UI shows navigation and user friendly message for null records in the database</li>
<li>Search Engine Optimization (SEO)</li>
<li>A "Contact us" page for maintenance team. The page should have mail id,  address and phone numbers</li>
<li>Application should have a visible status bar - logged in user, logged in time, date</li>
<li>A user confirmation while logging out or closing the application</li>
<li>User should not be allowed to navigation to any of the application pages without logging in</li>
<li>User session should auto expire within the following specified time period (5 minutes &#62; Session Expiry time &#62; 15 minutes)</li>
<li>Highlighting of searched keywords should be present for Search feature</li>
</ol>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Why JSON is Important to You!]]></title>
<link>http://rogercostello.wordpress.com/?p=287</link>
<pubDate>Sat, 05 Apr 2008 11:32:14 +0000</pubDate>
<dc:creator>Roger Costello</dc:creator>
<guid>http://rogercostello.wordpress.com/?p=287</guid>
<description><![CDATA[WHAT IS  JSON?
JSON stands for  JavaScript Object Notation. (JSON is pronounced like the name Jason)]]></description>
<content:encoded><![CDATA[<p>WHAT IS  JSON?</p>
<p>JSON stands for  JavaScript Object Notation. (JSON is pronounced like the name Jason)</p>
<p>It is a data  format.  (XML is also a data format)</p>
<p>The JSON data format  is ideally suited for consumption by a JavaScript program.  (In fact, JSON is  JavaScript!)</p>
<p>WHY SHOULD I CARE  ABOUT JAVASCRIPT?</p>
<p>Because Ajax  applications use JavaScript.  (And because JavaScript is very  cool)</p>
<p>BUT AJAX  APPLICATIONS CAN PROCESS DATA FORMATTED AS XML, SO WHY BOTHER WITH  JSON?</p>
<p>If the data is  formatted as XML then Ajax is limited to fetching data from the same domain  (website) that the Ajax application came from.</p>
<p>If the data is  formatted as JSON then Ajax can travel across domains.  That is, Ajax can access  data from anywhere.  Think of the power of this: a single Ajax application,  running in your browser, can reach out and grab data from an unlimited number of  web services, and present it in your browser in a coherent fashion.   Awesome!</p>
<p>WHAT DOES JSON LOOK  LIKE?</p>
<p>Here's information  about a person, his website, and his email, all structured as  JSON:</p>
<p>{"person":  {<br />
"name": "John Doe",<br />
"website": "http://www.example.com/",<br />
"email": "jdoe@example.com"<br />
}<br />
}</p>
<p>HOW IS  THE DATA IN  JSON EXTRACTED?</p>
<p>Very easy: (suppose  the variable "data" holds the above JSON data)</p>
<p>data.person.name       returns "John Doe"<br />
data.person.website    returns http://www.example.com<br />
data.person.email        returns jdoe@example.com</p>
<p>ARE THERE WEB  SERVICES THAT SERVE UP JSON?</p>
<p>Yes.  For example,  all of Yahoo's Web Services can return JSON if it's requested.  Here's an  example:</p>
<p><a href="http://api.search.yahoo.com/NewsSearchService/V1/newsSearch?appid=rogercostello&#38;query=Obama&#38;output=json">http://api.search.yahoo.com/NewsSearchService/V1/newsSearch?appid=xyz&#38;query=Obama&#38;output=json</a></p>
<p>SHOULD MY WEB  SERVICE SERVE UP JSON?</p>
<p>I think that it  would be good for your web service to be capable of serving up both XML and  JSON.  You might implement it in the same way Yahoo does,  <em>e.g.</em></p>
<p><a href="http://www.example.com/web-service?output=json">http://www.example.com/web-service?output=json</a></p>
<p><a href="http://www.example.com/web-service?output=xml">http://www.example.com/web-service?output=xml</a></p>
<p>WHO DISCOVERED JSON?</p>
<p>JSON is the brainchild of Douglas Crockford, one of the preeminent JavaScript coders in the world today (<a title="Douglas Crockford website" href="http://www.crockford.com">http://www.crockford.com</a>).</p>
<p>WHERE CAN I GET MORE INFO?</p>
<p>See the excellent book: <a title="Bulletproof Ajax by Jeremy Keith" href="http://www.amazon.com/Bulletproof-Ajax-Jeremy-Keith/dp/0321472667/ref=pd_bbs_sr_1?ie=UTF8&#38;s=books&#38;qid=1207394682&#38;sr=8-1">Bulletproof Ajax</a>, by Jeremy Keith, p. 77-87</p>
]]></content:encoded>
</item>

</channel>
</rss>
