ImageMagick Tricks Web Image Effects from the Command Lineand PHP: Sohail Salehi
Intrigued by the possibilities of developing web applications in the cloud? With this concise book, you get a quick hands-on introduction to OpenShift, the open source Platform as a Service (PaaS) offering from Red Hat. Youll learn the steps necessary to build, deploy, and host a complete real-world application on OpenShift, without having to read long, detailed explanations of the technologies involved.Though the book uses Python, application examples in other languages are available on GitHub. If you can build web applications, use a command line, and program in Java, Python, Ruby, Node.js, PHP, or Perl, youre ready to get started.Dive in and create your first example application with OpenShiftModify the example with your own code and hot-deploy the changesAdd components such as a database, task scheduling, and monitoringUse external libraries and dependencies in your applicationDelve into networking, persistent storage, and backup optionsExplore ways to adapt your team processes to use OpenShiftLearn OpenShift terms, technologies, and commandsGet a list of resources to learn more about OpenShift and PaaS
Regular expressions are an extremely powerful tool for manipulating text and data. They are now standard features in a wide range of languages and popular tools, including Perl, Python, Ruby, Java, VB.NET and C# (and any language using the .NET Framework), PHP, and MySQL.If you don´t use regular expressions yet, you will discover in this book a whole new world of mastery over your data. If you already use them, you´ll appreciate this book´s unprecedented detail and breadth of coverage. If you think you know all you need to know about regularexpressions, this book is a stunning eye-opener.As this book shows, a command of regular expressions is an invaluable skill. Regular expressions allow you to code complex and subtle text processing that you never imagined could be automated. Regular expressions can save you time and aggravation. They can be used to craft elegant solutions to a wide range of problems. Once you´ve mastered regular expressions, they´ll become an invaluable part of your toolkit. You will wonder how you ever got by without them.Yet despite their wide availability, flexibility, and unparalleled power, regular expressions are frequently underutilized. Yet what is power in the hands of an expert can be fraught with peril for the unwary. Mastering Regular Expressions will help you navigate the minefield to becoming an expert and help you optimize your use of regular expressions. Mastering Regular Expressions, Third Edition, now includes a full chapter devoted to PHP and its powerful and expressive suite of regular expression functions, in addition to enhanced PHP coverage in the central "e;core"e; chapters. Furthermore, this edition has been updated throughout to reflect advances in other languages, including expanded in-depth coverage of Sun´s java.util.regex package, which has emerged as the standard Java regex implementation.Topics include:A comparison of features among different versions of many languages and toolsHow the regular expression engine worksOptimization (major savings available here!)Matching just what you want, but not what you don´t wantSections and chapters on individual languagesWritten in the lucid, entertaining tone that makes a complex, dry topic become crystal-clear to programmers, and sprinkled with solutions to complex real-world problems, Mastering Regular Expressions, Third Edition offers a wealth information that you can put to immediateuse.Reviews of this new edition and the second edition:"e;There isn´t a better (or more useful) book available on regular expressions."e;--Zak Greant, Managing Director, eZ Systems"e;A real tour-de-force of a book which not only covers the mechanics of regexes in extraordinary detail but also talks about efficiency and the use of regexes in Perl, Java, and .NET...If you use regular expressions as part of your professional work (even if you already have a good book on whatever language you´re programming in) I would strongly recommend this book to you."e;--Dr. Chris Brown, Linux Format"e;The author does an outstanding job leading the reader from regexnovice to master. The book is extremely easy to read and chock full ofuseful and relevant examples...Regular expressions are valuable toolsthat every developer should have in their toolbox. Mastering RegularExpressions is the definitive guide to the subject, and an outstandingresource that belongs on every programmer´s bookshelf. Ten out of TenHorseshoes."e;--Jason Menard, Java Ranch
ABOUT THE BOOK A look at core Amazon Web Services (AWS) services with an emphasis on implementation and skill development. You will start with a simple web application on a single Elastic Cloud Compute (EC2) instance and improve the stack step by step by adding high availability, fault-tolerance, scalability, security and ease of deployment. The book has 8 chapters and a capstone project, code, and commands required for the project are included. You will learn about these AWS services - Elastic Cloud Compute (EC2), Elastic Block Store (EBS), Relational Database Service (RDS), Simple Storage Service (S3), DynamoDB, Identity and Access Management (IAM), ElastiCache, CloudFront, Elastic Beanstalk and Virtual Private Cloud (VPC). You will use these important aspects of AWS: - Infrastructure: AWS Regions and Availability Zones. - EC2: Amazon Machine Images, EBS Snapshots, Application Load Balancers, Sticky Sessions, Auto-Scaling Groups. - RDS: Read Replicas, Multi-AZ Deployment. - Network: Public and Private Subnets, VPC Service Endpoints, Security Groups, NAT Gateways. - Security: IAM Roles, IAM policies, S3 bucket policies, S3 Access Control Lists, CloudFront signed URLs. - App development: AWS SDK. You will implement these AWS best practices: - Configure separate root and data EBS volumes. - Create snapshots of EBS data volumes. - Create Amazon Machine Images of your app servers. - Use multiple instances and multiple zones. - Centralize sessions, content and the database. - Use auto-scaling groups for your app servers. - Off-load database requests to read replicas or to in-memory databases. - Use a Content Distribution Network to deliver content to users around the world. - Use signed URLs when delivering private content. - Configure security using the principle of least privileges. - Use an automation platform for frequent deployments. You will understand AWS best practices for typical web app functions: - Session management. - Content delivery. - Content security. - Databases. AUDIENCE Developers, system administrators or a solutions architects who need to use AWS in their projects, or need to develop, and perhaps showcase, strong skills in this technology. Those preparing for AWS certification exams, and like to learn by doing. REQUIRED SKILLS You will use, modify, and configure a Linux (Ubuntu), Apache, MySQL and PHP app throughout this project. This book assumes you have some familiarity with Linux, SSH, vi (or similar) editors and with Git. PHP skills are NOT required. FROM THE AUTHOR I am AWS certified (Solutions Architect - Associate level) and have over 20 years of experience in IT. I adopted AWS early, back in 2008, when setting up an AWS based SaaS business. As part of this project, I coached, for several years, a team of system admins and developers on this technology. For the last couple of years, I have been teaching a webinar based AWS solutions architecture course. This book has evolved from this long experience using and teaching AWS. I hope you will find it useful.