Programming ScalaScala is an exciting, modern, multi-paradigm language for the JVM. You can use it to write traditional, imperative, object-oriented code. But you can also leverage its higher level of abstraction to take full advantage of modern, multicore systems. Programming Scala will show you how to use this powerful functional programming language to create highly scalable, highly concurrent applications on the Java Platform. ...
Automate with GruntGrunt is everywhere. JavaScript projects from jQuery to Twitter Bootstrap use Grunt to convert code, run tests, and produce distributions for production. It's a build tool in the spirit of Make and Rake, but written with modern apps in mind. This book gets you up to speed with Grunt using practical hands-on examples, so you can wrangle your projects with ease. You'll learn how to create and maintain tasks and project builds, and automate your workflow with plugins and custom tasks.
JavaScript has moved from being the language you love to hate to the language you need to use. And as JavaScript applications get more complex, you need a process to manage that complexity. While online tutorials just explain how to slap together a configuration file, this book goes further and shows you how to create your own tasks, design your own project templates, combine plugins together to bring a web app to life, and build your own plugins. ...
Agile Web Development with Rails 4Rails just keeps on changing. Both Rails 3 and 4, as well as Ruby 1.9 and 2.0, bring hundreds of improvements, including new APIs and substantial performance enhancements. The fourth edition of this award-winning classic has been reorganized and refocused so it's more useful than ever before for developers new to Ruby and Rails.
Rails 4 introduces a number of user-facing changes, and the ebook has been updated to match all the latest changes and new best practices in Rails. This includes full support for Ruby 2.0, controller concerns, Russian Doll caching, strong parameters, Turbolinks, new test and bin directory layouts, and much more. ...
TextMateTextMate is a powerful tool for programmers, web designers, and anyone else who regularly needs to work with text files on Mac OS X. TextMate focuses on pragmatic automation, which means it will save you time-time that's always in short supply. See how your lowly text editor can become a hard working member of your staff. ...
Getting Started with Electronic ProjectsWith Getting Started with Electronic Projects, you will create several popular electronic security projects. This practical and accessible guide will show you more than just building handy and useful electronic security projects.
Beginning with what the hams call "DC to Daylight," you will learn how to build everything from an IR Beacon to an RF power meter and a ZigBee point-to-point network. All you need to get started is a few simple tools and ordinary soldering skills.
The projects eventually become more complex when you start building an infrared flashlight using materials from a dollar store. Here you start with a IR flashing beacon and a motion sensitive alarm with a really cool on/off switch, then you move on to a black box project that will turn your sound card into an oscilloscope and eventually a ZigBee-based alarm system. ...
Responsive Media in HTML5Rapid growth in the use of mobile devices to access the Internet has forced designers to adapt to creating content that is easily viewable on a wide range of different devices. The key is to make images and videos responsive to the platform used, enabling them to be resized automatically when displayed on mobile devices or desktops.
This book is a fast-paced, hands-on guide that shows you how to apply some simple techniques to add images and video content to your site, which may be a simple, one-page portfolio, or a complex content management system. The book starts with showing you how to display images. You will learn about browser support and different platforms, and alternatives for high- and low-resolution images. Moving on, the book covers techniques to add responsive video content. You will get to know about adding images and videos and test the media using online sites and tools. The book also explains the use of plugins and responsive frameworks. ...
AngularJS Test-driven DevelopmentStarting with reviewing the test-driven development (TDD) life cycle, you will learn how Karma and Protractor make your life easier while running JavaScript unit tests. You will learn how Protractor is different from Selenium and how to test it entirely. This book is a walk-through to using TDD to build an AngularJS application containing a controller, model, and scope.
Building on the initial foundational aspects, you will expand to include testing for multiple controllers, partial views, location references, CSS, and the HTML element. In addition, you will explore using a headless browser with Karma. You will also configure Karma file watching to automate testing and tackle components of AngularJS (controller, service, model, and broadcasting) using TDD. At the end of this book, you will extend explore how to pull data using an external API, setting up and configuring Protractor to use a standalone Selenium server, and setting up Travis CI and Karma to test your application. ...
CORS in ActionSuppose you need to share some JSON data with another application or service. If everything is hosted on one domain, it's a snap. But if the data is on another domain, the browser's "same-origin" policy stops you cold. CORS is a new web standard that enables safe cross-domain access without complex server-side code. Mastering CORS makes it possible for web and mobile applications to share data simply and securely.
CORS in Action introduces CORS from both the server and the client perspective. It starts with making and enabling CORS requests and then explores performance, debugging, and security. You'll learn to build apps that can take advantage of APIs hosted anywhere and how to write APIs that expand your products to a wider range of users.
For web developers comfortable with JavaScript. No experience with CORS is assumed. ...
Spring in Action, 4th EditionSpring in Action, 4th Edition is a hands-on guide to the Spring Framework. It covers Spring core, along with the latest updates to Spring MVC, Security, Web Flow, and more. You'll move between short snippets and an ongoing example as you learn to build simple and efficient JEE applications. Author Craig Walls has a special knack for crisp and entertaining examples that zoom in on the features and techniques you really need.
Nearly 100,000 developers have used this book to learn Spring! It requires a working knowledge of Java. ...
Learning BeagleBoneThe BeagleBone is a microboard computer that offers all the possibilities of a larger PC in a miniaturized package. By learning embedded Linux for the BeagleBone, you can get started on the road to utilizing the power of the board to achieve its full potential.
This book covers right from unboxing, showing you the absolute basics of using your new BeagleBone to give you the knowledge you need to be a responsible BeagleBone owner and to integrate the microboard into your projects. Begin by learning about the software behind your purchase before moving on to your first simple project on building an LED flasher using the LEDs on the BeagleBone itself.
Get to grips with connecting and controlling your BeagleBone from a mobile device, practical guidance on hooking up simple hardware and toys to your BeagleBone, and troubleshooting tips on what to do when things go wrong. ...