Revised for Ruby 2.1, each recipe includes a discussion on why and how the solution works. You’ll find recipes suitable for all skill levels, from Ruby newbies to experts who need an occasional reference. With Ruby Cookbook, you’ll not only save time, but keep your brain percolating with new ideas as well.
Recipes cover:Data structures including strings, numbers, date and time, arrays, hashes, files and directoriesUsing Ruby’s code blocks, also known as closuresOOP features such as classes, methods, objects, and modulesXML and HTML, databases and persistence, and graphics and other formatsWeb development with Rails and SinatraInternet services, web services, and distributed programmingSoftware testing, debugging, packaging, and distributingMultitasking, multithreading, and extending Ruby with other languages
Whether you’re an entrepreneur or part of a large enterprise development team, this book shows you how PaaS can help you focus on innovative applications, rather than spend your time worrying about technical operations.Track the cloud’s evolution from IaaS and DevOps to PaaSLearn how PaaS combines the simplicity of shared web hosting with the control of dedicated hostingExplore the benefits of both portable and non-portable PaaS optionsApply best practices for moving legacy apps to PaaS—and understand the challenges involvedWrite new applications for PaaS from scratch with RESTful meta-servicesUse PaaS to build mobile apps with backend services that scaleExamine the core services that each major provider currently offersLearn the situations in which PaaS might not be advantageous