Learning Yii Testing


Book Description

Developers who have a solid pre-existing knowledge of Yii's core concepts will find this book an ideal introduction to learning to write tests using Yii 2's tools. You'll learn to create faster and more reliable applications with less time and effort.




Mastering Yii


Book Description

Advance your modern web application development skills with Yii Framework 2 About This Book Learn to work with the key aspects of Yii Framework 2 Explore how to create RESTful APIs with Yii Incorporate codeception with Yii2 to test your code thoroughly Who This Book Is For This book is for Yii Framework developers who want to quickly master Yii2. This book assumes some familiarity with Yii2, PHP 5, and HTML5. What You Will Learn Explore Yii2's conventions and learn how to properly configure Yii2 Create both web and console applications Reduce development time by learning to create classes automatically with Gii, Yii2's automatic code generation tool Use Yii2's database migration tool Manage and access databases with Active Record, DAO, and Query Builder Handle user authentication and authorization within Yii2 Create RESTful APIs with Yii Framework 2 Test applications automatically with codeception In Detail The successor of Yii Framework 1.1, Yii2 is a complete rewrite of Yii Framework, one of the most popular PHP 5 frameworks for making modern web applications. The update embraces the best practices and protocols established with newer versions of PHP, while still maintaining the simple, fast, and extendable behavior found in its predecessor. This book has been written to enhance your skills and knowledge with Yii Framework 2. Starting with configuration and how to initialize new projects, you'll learn how to configure, manage, and use every aspect of Yii2 from Gii, DAO, Query Builder, Active Record, and migrations, to asset manager. You'll also discover how to automatically test your code using codeception. With this book by your side, you'll have all the skills you need to quickly create rich modern web and console applications with Yii2. Style and approach This book is a step-by-step guide to mastering every aspect of Yii Framework 2. Each chapter outlines a new set of tools along with code that can be used to efficiently create modern web and console applications




Agile Web Application Development with Yii1.1 and PHP5


Book Description

Fast-track your Web application development by harnessing the power of the Yii PHP framework




Yii 1.1 Application Development Cookbook


Book Description

Over 80 recipes to help you master using the Yii PHP framework.




Mastering Yii


Book Description




Test Driven Development


Book Description

Quite simply, test-driven development is meant to eliminate fear in application development. While some fear is healthy (often viewed as a conscience that tells programmers to "be careful!"), the author believes that byproducts of fear include tentative, grumpy, and uncommunicative programmers who are unable to absorb constructive criticism. When programming teams buy into TDD, they immediately see positive results. They eliminate the fear involved in their jobs, and are better equipped to tackle the difficult challenges that face them. TDD eliminates tentative traits, it teaches programmers to communicate, and it encourages team members to seek out criticism However, even the author admits that grumpiness must be worked out individually! In short, the premise behind TDD is that code should be continually tested and refactored. Kent Beck teaches programmers by example, so they can painlessly and dramatically increase the quality of their work.




Learning Android Application Testing


Book Description

If you are an Android developer looking to test your applications or optimize your application development process, then this book is for you. No previous experience in application testing is required.




Web Application Development with Yii 2 and PHP


Book Description

This book is for professional PHP developers who wish to master the powerful Yii 2 application framework. It is assumed that you have knowledge of object-oriented programming. The previous version of the Yii framework is only briefly mentioned, but it'll be even easier to grasp Yii 2 with the knowledge of Yii 1.1.x.




Learning Pentesting for Android Devices


Book Description

This is an easy-to-follow guide, full of hands-on and real-world examples of applications. Each of the vulnerabilities discussed in the book is accompanied with the practical approach to the vulnerability, and the underlying security issue. This book is intended for all those who are looking to get started in Android security or Android application penetration testing. You don’t need to be an Android developer to learn from this book, but it is highly recommended that developers have some experience in order to learn how to create secure applications for Android.




The Art of Unit Testing


Book Description

Summary The Art of Unit Testing, Second Edition guides you step by step from writing your first simple tests to developing robust test sets that are maintainable, readable, and trustworthy. You'll master the foundational ideas and quickly move to high-value subjects like mocks, stubs, and isolation, including frameworks such as Moq, FakeItEasy, and Typemock Isolator. You'll explore test patterns and organization, working with legacy code, and even "untestable" code. Along the way, you'll learn about integration testing and techniques and tools for testing databases and other technologies. About this Book You know you should be unit testing, so why aren't you doing it? If you're new to unit testing, if you find unit testing tedious, or if you're just not getting enough payoff for the effort you put into it, keep reading. The Art of Unit Testing, Second Edition guides you step by step from writing your first simple unit tests to building complete test sets that are maintainable, readable, and trustworthy. You'll move quickly to more complicated subjects like mocks and stubs, while learning to use isolation (mocking) frameworks like Moq, FakeItEasy, and Typemock Isolator. You'll explore test patterns and organization, refactor code applications, and learn how to test "untestable" code. Along the way, you'll learn about integration testing and techniques for testing with databases. The examples in the book use C#, but will benefit anyone using a statically typed language such as Java or C++. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. What's Inside Create readable, maintainable, trustworthy tests Fakes, stubs, mock objects, and isolation (mocking) frameworks Simple dependency injection techniques Refactoring legacy code About the Author Roy Osherove has been coding for over 15 years, and he consults and trains teams worldwide on the gentle art of unit testing and test-driven development. His blog is at ArtOfUnitTesting.com. Table of Contents PART 1 GETTING STARTED The basics of unit testing A first unit test PART 2 CORE TECHNIQUES Using stubs to break dependencies Interaction testing using mock objects Isolation (mocking) frameworks Digging deeper into isolation frameworks PART 3 THE TEST CODE Test hierarchies and organization The pillars of good unit tests PART 4 DESIGN AND PROCESS Integrating unit testing into the organization Working with legacy code Design and testability