Thursday, 12 April 2012

21 errors of a PHP-programmer. Part II




The following 7 errors (#14-8) are treated as serious ones. They result into considerable reduction of code execution and scripts safety; the code becomes even more confused.
One of the main advantages of PHP is its disadvantage at the same time: PHP is very easy to learn. This attracts many people but in spite of its false easiness its rather difficult to learn right and effective usage of this language.
As a rule we deal with insufficient programming praxis. Inexperienced programmers face the necessity of complicated web-applications creation. Thus the mistakes are frequently done which an experienced programmer could evade such as unjustified usage of printf() function or wrong usage of PHP semantics.
In this series including three articles the most typical from our point of view errors are presented. These errors may be classified on some categories from non-critic to the fatal ones. Together with these errors analysis the ways of their evading are described and also some little tricks which have been collected for many years of programming praxis are presented. 

21 errors of a PHP-programmer. Part I




Seven childish errors are described (21-15 backwards according to the grade of their importance in our classification). Such errors dont cause serious problems but they reduce effect of programs work and are also expressed in a bulky difficult to read code which is also difficult to change.
:One of the main advantages of PHP is its disadvantage at the same time: PHP is very easy to learn. This attracts many people but in spite of its false easiness its rather difficult to learn right and effective usage of this language.
As a rule we deal with insufficient programming praxis. Inexperienced programmers face the necessity of complicated web-applications creation. Thus the mistakes are frequently done which an experienced programmer could evade such as unjustified usage of printf() function or wrong usage of PHP semantics.
In this series including three articles the most typical from our point of view errors are presented. These errors may be classified on some categories from non-critic to the fatal ones. Together with these errors analysis the ways of their evading are described and also some little tricks which have been collected for many years of programming praxis are presented.

Pro Multithreading and Memory Management for iOS and OS X with ARC, Grand Central Dispatch, and Blocks



If you want to develop efficient, smooth-running applications, controlling concurrency and memory are vital. Automatic Reference Counting is Apple's game-changing memory management system, new to Xcode 4.2. Pro Multithreading and Memory Management for iOS and OS X shows you how ARC works and how best to incorporate it into your applications. Grand Central Dispatch (GCD) and blocks are key to developing great apps, allowing you to control threads for maximum performance.  


If for you, multithreading is an unsolved mystery and ARC is unexplored territory, then this is the book you'll need to make these concepts clear and send you on your way to becoming a master iOS and OS X developer.
  • What are blocks? How are they used with GCD?
  • Multithreading with GCD
  • Managing objects with ARC 

Pro Objective-C Design Patterns for iOS

It’s time to capitalize on your mastery of Cocoa with Pro Objective-C Design Patterns for iOS. You’ve developed apps that impressed and performed, and now you’re ready to jump into development practices that will leave you with more effective, efficient, and professional level apps. This book is the element you need to make the jump from journeyman to master.

All too often, developers grind through building good apps on willpower and a vigorous focus on code development, leaving them unaware of and unable to benefit from the underlying structural and functional design patterns. 

Pro Objective-C Design Patterns for iOS will teach you those design patterns that have always been present at some level in your code, but were never recognized, acknowledged, or fully utilized. Implementation of specific pattern approaches will prove their value to any developer working in the iOS application arena. You’ll learn to master classic patterns like singleton, abstract factory, chain of responsibility, and observer. You’ll also discover less well-known but useful patterns like memento, composite, command, and mediator.

Pro Smartphone Cross-Platform Development iPhone, Blackberry, Windows Mobile and Android Development and Distribution



Learn the theory behind cross-platform development, and put the theory into practice with code using the invaluable information presented in this book. With in-depth coverage of development and distribution techniques for iPhone, BlackBerry, Windows Mobile, and Android, you’ll learn the native approach to working with each of these platforms. With detailed coverage of emerging frameworks like PhoneGap and Rhomobile, you’ll learn the art of creating applications that will run across all devices. You’ll also be introduced to the code-signing process and the distribution of applications through the major application stores, including Research In Motion (BlackBerry), Apple, and Microsoft.



Taking Your iPhone to the Max

Unleash your iPhone and take it to the limit using secret tips and techniques from gadget hacker Erica Sadun. Fast and fun to read, Taking Your iPhone to the Max will show you how get the most out of Apple’s iPhone. You’ll find all the best, and undocumented, tricks as well as the most efficient and enjoyable introduction to the iPhone you’ll ever find.
Starting with a guide to iPhone basics, you’ll quickly move on to discover the iPhone’s hidden potential, like how to connect to a TV, get contract-free VoIP, and hack OS X so it will run apps on your iPhone. From e-mail and surfing the Web, to using iTunes, iBooks, games, photos, ripping DVDs and getting free VoIP with Skype or Jajah, you’ll find it here. You’ll even find tips on where to get the best and cheapest iPhone accessories. Get ready to take iPhone to the max!

Taking Your iPad to the Max

It looks different. It acts different. There’s no right way to hold it. It responds to the touch of your fingertips. It’s the Internet in your lap. It connects to the world, yet it is as personal as a well-worn book.

Taking Your iPad to the Max is written so that anyone, from a computer-savvy teenager to a 92-year-old great-grandmother, can quickly get up to speed on Apple’s latest hit. As bloggers at The Unofficial Apple Weblog (tuaw.com), we have the happy privilege of working with Apple products every day. The iPad is so different from any computer you’ve ever used, and we realize many people could use a helping hand, to feel comfortable buying and using an iPad. We take you from selecting and buying an iPad, to connecting it to the Internet, and then demonstrate just how to use the incredible power of the iPad and all its apps to enhance your life.

Taking Your iPhone 4S to the Max For iPhone 4S and Other iOS 5-Enabled iPhones

Unleash the power of your new iPhone 4S or other iOS 5-driven iPhone and take it to the limit using powerful tips and techniques from the Apple experts at TUAW, Erica Sadun, Steve Sande, and Michael Grothaus. Fast and fun to read, Taking Your iPhone 4S to the Max shows you how to get the most out of your iPhone using Apple’s new iOS 5.

Whether you're using the new iPhone 4S or earlier iPhone that runs the new iOS 5, you’ll find all the best undocumented tricks, as well as the most efficient and enjoyable introduction to the iPhone available. Starting with an introduction to iPhone basics, you’ll quickly discover the iPhone’s hidden potential, like how to connect to a TV, use Voice Control using Siri, have video chats with FaceTime, and call friends overseas with low-cost VoIP.

From the unified e-mail inbox and surfing the Web with Mobile Safari, exploring the world of social networking, using the multitasking capabilities of iOS 5, taking and editing photos, shopping for apps, media, and books, or just managing phone calls—you’ll find it all in this book. You’ll even learn tips on where to get the best iPhone accessories. Get ready to take your iPhone 4S and earlier running the new iOS 5 to the max!

The Business of iPhone App Development Making and Marketing Apps that Succeed

The phenomenal success of the iPhone and the iPod touch has ushered in a “gold rush” for developers, but with well over 100,000 apps in the highly competitive App Store, it has become increasingly difficult for new apps to stand out in the crowd. Achieving consumer awareness and sales longevity for your iPhone app requires a lot of organization and some strategic planning. This book will show you how to incorporate marketing and business savvy into every aspect of the design and development process, giving your app the best possible chance of succeeding in the App Store.
The Business of iPhone App Development was written by experienced developers with business backgrounds, taking you step-by-step through cost-effective marketing techniques that have proven successful for professional iPhone app creators—perfect for independent developers on shoestring budgets. Although there are a few iPhone app marketing books on the horizon, they appear to tackle the subject from purely a marketer’s perspective. What makes this book unique is that it was written by developers for developers, showing you not only what to do, but also how to do it, complete with time-saving resources and ready-to-use code examples. No prior business knowledge is required. This is the book you wish you had read before you launched your first app!

 

Wednesday, 11 April 2012

Beginning Kinect Programming with the Microsoft Kinect SDK

Beginning Kinect Programming with the Microsoft Kinect SDK gets you up and running developing Kinect applications for your PC using Microsoft tools and the official SDK. You will have a working Kinect program by the end of the first chapter! The following chapters will open up the secrets of three-dimensional vision, skeleton tracking, audio through the Kinect, and more. Examples illustrate the concepts in the form of simple games that react to your body movements. The result is a fun read that helps you learn one of the hottest technologies out there today.

Beginning Kinect Programming with the Microsoft Kinect SDK
also provides building blocks and ideas for mashing up the Kinect with other technologies to create art, interactive games, 3D models and enhanced office automation. You'll learn the fundamental code basic to almost all Kinect applications. You'll learn to integrate that code with other tools and manipulate data to create amazing Kinect applications. Beginning Kinect Programming with the Microsoft Kinect SDK is your gateway into the exciting world of three-dimensional, real-time computer interaction.