20 Recipes for Programming MVC 3


Book Description

There's no need to reinvent the wheel every time you run into a problem with ASP.NET's Model-View-Controller (MVC) framework. This concise cookbook provides recipes to help you solve tasks many web developers encounter every day. Each recipe includes the C# code you need, along with a complete working example of how to implement the solution. Learn practical techniques for applying user authentication, providing faster page reloads, validating user data, filtering search results, and many other issues related to MVC3 development. These recipes help you: Restrict access to views with password protection Allow users to upload and save a file to your website Implement AJAX to allow users to see updated content quickly Validate form input to ensure the data you capture is what you expect Create thumbnails to preview images rather than view them full-size Give your web application the ability to change languages Use CAPTCHA to prevent automated programs from completing forms Make URLs more user- and search-engine-friendly with the MapRoute function




20 Recipes for Programming PhoneGap


Book Description

Gain hands-on experience with the amazing PhoneGap library, using the practical recipes in this handy guide. With these solutions, you can enable your mobile web apps to interact with device-specific features such as the accelerometer, GPS, camera, and address book. Learn how to use your knowledge of HTML, CSS, and JavaScript to build full mobile apps for iOS, Android, and several other platforms without rewriting apps in the native platform language. Each recipe includes sample code you can use in your project right away, as well as a discussion of why the solution works. Add functionality that’s available only on a certain device or platform Retrieve the device’s current GPS location and place a marker on a map Create and save a new contact or edit an existing contact in the address book Take pictures with the camera or select one of the user’s existing photos Upload a file from the local device to an external server Allow the device to record audio or video through your app Enable your application to save files locally




ASP.NET MVC 5 with Bootstrap and Knockout.js


Book Description

Bring dynamic server-side web content and responsive web design together to build websites that work and display well on any resolution, desktop or mobile. With this practical book, you’ll learn how by combining the ASP.NET MVC server-side language, the Bootstrap front-end framework, and Knockout.js—the JavaScript implementation of the Model-View-ViewModel pattern. Author Jamie Munro introduces these and other related technologies by having you work with sophisticated web forms. At the end of the book, experienced and aspiring web developers alike will learn how to build a complete shopping cart that demonstrates how these technologies interact with each other in a sleek, dynamic, and responsive web application. Build well-organized, easy-to-maintain web applications by letting ASP.NET MVC 5, Bootstrap, and Knockout.js do the heavy lifting Use ASP.NET MVC 5 to build server-side web applications, interact with a database, and dynamically render HTML Create responsive views with Bootstrap that render on a variety of modern devices; you may never code with CSS again Add Knockout.js to enhance responsive web design with snappy client-side interactions driven by your server-side web application




Knockout.js


Book Description

Use Knockout.js to design and build dynamic client-side web applications that are extremely responsive and easy to maintain. This example-driven book shows you how to use this lightweight JavaScript framework and its Model-View-ViewModel (MVVM) pattern. You’ll learn how to build your own data bindings, extend the framework with reusable functions, and work with a server to enhance your client-side application with persistence. In the final chapter, you’ll build a shopping cart to see how everything fits together. If you’re a web developer with experience in JavaScript, HTML, and CSS, you’re ready for Knockout. Learn how to create a ViewModel Bind HTML data and attributes, and CSS classes and styles Understand data binding in Knockout’s context hierarchy Use properties that change dynamically through user interaction Work with forms by using several different bindings Bind multiple ViewModels on a single page Extend or attach custom functions to observables Perform server-side interactions with jQuery Map a JavaScript object or apply JSON data to a new object




Orchard CMS: Up and Running


Book Description

Use your C# skills to build your next website with Orchard, the popular content management system based on ASP.NET MVC. With step-by-step guidance, you’ll learn your way around the Orchard environment by constructing a complete, real-world site throughout the course of this book. You’ll create, manage, and display dynamic content with out-of-the-box functionality, and then build themes, modules, and widgets to customize the site. Author John Zablocki gets you started by showing you how to obtain and compile the Orchard source code, so you can more efficiently customize and manage the sites you create. Create or extend Orchard content types to manage dynamic content Use alternate templates to change the way Orchard displays content Design a theme to define your website’s look and feel Build custom modules when the Orchard Gallery doesn’t have extensions you need Create reusable content pieces by creating widgets Explore options for adding multi-language support to a site Learn hosting options for your Orchard sites, including the cloud Package your custom themes and modules to share in Orchard Gallery




Building Node Applications with MongoDB and Backbone


Book Description

Build an application from backend to browser with Node.js, and kick open the doors to real-time event programming. With this hands-on book, you’ll learn how to create a social network application similar to LinkedIn and Facebook, but with a real-time twist. And you’ll build it with just one programming language: JavaScript. If you’re an experienced web developer unfamiliar with JavaScript, the book’s first section introduces you to the project’s core technologies: Node.js, Backbone.js, and the MongoDB data store. You’ll then launch into the project—a highly responsive, highly scalable application—guided by clear explanations and lots of code examples. Learn about key modules in Node.js for building real-time apps Use the Backbone.js framework to write clean browser code, and maintain better data integration with MongoDB Structure project files as a foundation for code that will arrive later Create user accounts and learn how to secure the data Use Backbone.js templates to build the application’s UIs, and integrate access control with Node.js Develop a contact list to help users link to and track other accounts Use Socket.io to create real-time chat functionality Extend your UIs to give users up-to-the-minute information




How to Design Programs, second edition


Book Description

A completely revised edition, offering new design recipes for interactive programs and support for images as plain values, testing, event-driven programming, and even distributed programming. This introduction to programming places computer science at the core of a liberal arts education. Unlike other introductory books, it focuses on the program design process, presenting program design guidelines that show the reader how to analyze a problem statement, how to formulate concise goals, how to make up examples, how to develop an outline of the solution, how to finish the program, and how to test it. Because learning to design programs is about the study of principles and the acquisition of transferable skills, the text does not use an off-the-shelf industrial language but presents a tailor-made teaching language. For the same reason, it offers DrRacket, a programming environment for novices that supports playful, feedback-oriented learning. The environment grows with readers as they master the material in the book until it supports a full-fledged language for the whole spectrum of programming tasks. This second edition has been completely revised. While the book continues to teach a systematic approach to program design, the second edition introduces different design recipes for interactive programs with graphical interfaces and batch programs. It also enriches its design recipes for functions with numerous new hints. Finally, the teaching languages and their IDE now come with support for images as plain values, testing, event-driven programming, and even distributed programming.




20 Recipes for Programming MVC 3


Book Description

There's no need to reinvent the wheel every time you run into a problem with ASP.NET's Model-View-Controller (MVC) framework. This concise cookbook provides recipes to help you solve tasks many web developers encounter every day. Each recipe includes the C# code you need, along with a complete working example of how to implement the solution. Learn practical techniques for applying user authentication, providing faster page reloads, validating user data, filtering search results, and many other issues related to MVC3 development. These recipes help you: Restrict access to views with password protection Allow users to upload and save a file to your website Implement AJAX to allow users to see updated content quickly Validate form input to ensure the data you capture is what you expect Create thumbnails to preview images rather than view them full-size Give your web application the ability to change languages Use CAPTCHA to prevent automated programs from completing forms Make URLs more user- and search-engine-friendly with the MapRoute function




Appium Recipes


Book Description

Learn how Appium is implemented in Java and integrated with tools, such as TestNG, Cucumber, Maven, Jenkins and Selenium Grid to create test automation frameworks. With these frameworks, you can test mobile apps on simulators or real devices and create CICD pipelines. This brief book focuses on using Appium for automation on both Android and iOS platforms. Appium Recipes illustrates test automation framework and Cloud Test Lab scenarios that will empower you to take full advantage of Appium's critical features to achieve continuous integration and deployments in your live projects. Readers will also learn about mobile-specific actions such as Swipe, Scroll, and Tap, and mobile-specific locators such as iOSUIAutomator. What You'll Learn: Set up Appium for mobile, Web and Hybrid App Automation Use mobile-specific actions, such as Swipe, Scroll, and Tap Work with mobile-specific locators, such as iOSUIAutomator Integrate Appium with Selenium Grid and Cloud Test Labs, such as Perfecto and Sauce Labs Who This Book Is For: Readers familiar with the basic concepts of test automation, mobile landscape, core java programming (basic)and maven, and Appium.




Concise Guide to Object-Oriented Programming


Book Description

This engaging textbook provides an accessible introduction to coding and the world of Object-Oriented (OO) programming, using Java as the illustrative programming language. Emphasis is placed on what is most helpful for the first-time coder, in order to develop and understand their knowledge and skills in a way that is relevant and practical. The examples presented in the text demonstrate how skills in OO programming can be used to create applications and programs that have real-world value in daily life. Topics and features: presents an overview of programming and coding, a brief history of programming languages, and a concise introduction to programming in Java using BlueJ; discusses classes and objects, reviews various Java library objects and packages, and introduces the idea of the Application Programming Interface (API); highlights how OO design forms an essential role in producing a useful solution to a problem, and the importance of the concept of class polymorphism; examines what to do when code encounters an error condition, describing the exception handling mechanism and practical measures in defensive coding; investigates the work of arrays and collections, with a particular focus on fixed length arrays, the ArrayList, HashMap and HashSet; describes the basics of building a Graphical User Interface (GUI) using Swing, and the concept of a design pattern; outlines two complete applications, from conceptual design to implementation, illustrating the content covered by the rest of the book; provides code for all examples and projects at an associated website. This concise guide is ideal for the novice approaching OO programming for the first time, whether they are a student of computer science embarking on a one-semester course in this area, or someone learning for the purpose of professional development or self-improvement. The text does not require any prior knowledge of coding, software engineering, OO, or mathematics.