Software Developer’s Journal 1/2012 (6)
Autotesting: Unit Tests and Mocking
by Barnaby Mercer
The shift from manual to auto-testing carries many advantages to all roles within a development team (testers, programmers, designers and managers). Increased quality and confidence in the code reduces delivery time and allows programmers to focus on getting the solution right, rather than chasing elusive bugs. (…) Testers can focus on the more esoteric exploratory testing, not grinding away on repetitive tasks; their intelligence is better used creatively.
Exception Handling Peek-a-Boos
by Anshul Saxena
Anyone who has programmed even at the most basic level, might have at some point or the other, come across the annoying situation where the program throws an unexpected behavior which it was never meant to throw. Such situations could be ‘Unable to divide by 0’ or ‘The function/method expected a parameter value that was never supplied’ or ‘Null arguments are not permitted’.
Such situations give jitters to even the best of programmers.
How can one handle such situations? You guessed it right….exception handling!
iPhone App Development on the Basis of Body Tan Scan Project
by Elinext Group
In this topic we are going to go through the process of iPhone app development. To do the topic more interesting we’ll dilute the theory with the praxis. As an example of the iPhone app we’ll take one of our projects – Body Tan Scan App. (…) Every new project starts with the definition of the main idea and technical requirements of the software product that should be developed. Mobile development is not an exception to the rule. This is one more reason why all the requirements should be strictly defined before the development itself.
Demistifying Lazy Load Pattern
by Milan Vukoje
Usual business application relies on lots of data, and that data usual resides in a database. Because data is out of the application thread, accessing it can be much slower. If external data is on a hard drive (and it usually is), accessing it can be thousands of times slower than accessing data in application memory. The great thing about cached data is that not only it will be few thousand times faster, but it will also scale much better under heavy load than your poor database.
Lock-Free Algorithms
by Abhishek Shah
This article dives into building Lock-Free data structures for higher throughput in a multi-threaded environment. It walks through various implementations of a stack, finally culminating into a Compare-And-Swap based Lock-Free implementation. A Lock-Free Exchanger algorithm is then presented. We then wrap up with an example of how to implement a critical section without locks.
IDisposable Objects
by Oliver Bruet
Programming in .NET gives some facilities about memory management comparing to other languages. But it does not exempt developers to manage correctly unmanaged resources, what it implies to correctly use IDisposable objects. This article has shows how to correctly use them.
Anatomy of a yet Another SQL Injection
by Ivica Hosko
Communicating back and forth between your web application and database engine became an issue as web developers needed to get some (at least) basic SQL knowledge in order to get the job done. In order to get the job done well, they need an in depth knowledge of SQL and its inner workings.
In most cases, sadly, this was not a case and this in turn introduced new and interesting surfaces for others to attack your web site/application for fun and profit.

- Register, accept the Disclaimer and choose subscription option.
Attention!
By choosing the Free Account option you will only be able to download the teaser of each issue. - Verify your account using the verification link sent to your email address.
- Check the password sent on your email address and use it to log in.
- Click the download button to get the issue.



































