Web Database Applications with PHP and MySQL
Hugh E. Williams - 2002
Anyone with a modest knowledge of HTML and web site management can learn to create dynamic content through the PHP programming language and the MySQL database. This book gives you the background and tools to do the job safely and reliably.Web Database Applications with PHP and MySQL, Second Edition thoroughly reflects the needs of real-world applications. It goes into detail on such practical issues as validating input (do you know what a proper credit card number looks like?), logging in users, and using templates to give your dynamic web pages a standard look.But this book goes even further. It shows how JavaScript and PHP can be used in tandem to make a user's experience faster and more pleasant. It shows the correct way to handle errors in user input so that a site looks professional. It introduces the vast collection of powerful tools available in the PEAR repository and shows how to use some of the most popular tools.Even while it serves as an introduction to new programmers, the book does not omit critical tasks that web sites require. For instance, every site that allows updates must handle the possibility of multiple users accessing data at the same time. This book explains how to solve the problem in detail with locking.Through a sophisticated sample application--Hugh and Dave's Wine Store--all the important techniques of dynamic content are introduced. Good design is emphasized, such as dividing logic from presentation. The book introduces PHP 5 and MySQL 4.1 features, while providing techniques that can be used on older versions of the software that are still in widespread use.This new edition has been redesigned around the rich offerings of PEAR. Several of these, including the Template package and the database-independent query API, are fully integrated into examples and thoroughly described in the text. Topics include:Installation and configuration of Apache, MySQL, and PHP on Unix®, Windows®, and Mac OS® X systems Introductions to PHP, SQL, and MySQL administration Session management, including the use of a custom database for improved efficiency User input validation, security, and authentication The PEAR repository, plus details on the use of PEAR DB and Template classes Production of PDF reports
Timekeepers: How the World Became Obsessed With Time
Simon Garfield - 2016
The Beatles learn to be brilliant in an hour and a half. An Englishman arrives back from Calcutta but refuses to adjust his watch. Beethoven has his symphonic wishes ignored. A US Senator begins a speech that will last for 25 hours. The horrors of war are frozen at the click of a camera. A woman designs a ten-hour clock and reinvents the calendar. Roger Bannister lives out the same four minutes over a lifetime. And a prince attempts to stop time in its tracks.Timekeepers is a book about our obsession with time and our desire to measure it, control it, sell it, film it, perform it, immortalise it and make it meaningful. It has two simple intentions: to tell some illuminating stories, and to ask whether we have all gone completely nuts.
Clojure In Action
Amit Rathore - 2011
It teaches Clojure from the basics to advanced topics using practical, real-world application examples. Blow through the theory and dive into practical matters like unit-testing and environment set-up, all the way through building a scalable web-application using domain-specific languages, Hadoop, HBase, and RabbitMQ. About the TechnologyClojure is a modern Lisp for the JVM, and it has the strengths you'd expect: first-class functions, macros, support for functional programming, and a Lisp-like, clean programming style. About this BookClojure in Action is a practical guide focused on applying Clojure to practical programming challenges. You'll start with a language tutorial written for readers who already know OOP. Then, you'll dive into the use cases where Clojure really shines: state management, safe concurrency and multicore programming, first-class code generation, and Java interop. In each chapter, you'll first explore the unique characteristics of a problem area and then discover how to tackle them using Clojure. Along the way, you'll explore practical matters like architecture, unit testing, and set-up as you build a scalable web application that includes custom DSLs, Hadoop, HBase, and RabbitMQ. What's InsideA fast-paced Clojure tutorial Creating web services with Clojure Scaling through messaging Creating DSLs with Clojure's macro system Test-driven development with Clojure Distributed programming with Clojure, and moreThis book assumes you're familiar with an OO language like Java, C#, or C++ but requires no background in Lisp or Clojure itself.================================== Table of ContentsPART 1 GETTING STARTED Introduction to Clojure A whirlwind tour Building blocks of Clojure Polymorphism with multimethods Clojure and Java interop State and the concurrent world Evolving Clojure through macros PART 2 GETTING REAL Test-driven development and more Data storage with Clojure Clojure and the web Scaling through messaging Data processing with Clojure More on functional programming Protocols, records, and type More macros and DSLs
The New Digital Age: Reshaping the Future of People, Nations and Business
Eric Schmidt - 2013
And, the Director of Google Ideas, Jared Cohen, formerly an advisor to both Secretaries of State Condoleezza Rice and Hillary Clinton.Never before has the future been so vividly and transparently imagined. From technologies that will change lives (information systems that greatly increase productivity, safety and our quality of life, thought controlled motion technology that can revolutionize medical procedures, and near-perfect translation technology that allows us to have more diversified interactions) to our most important future considerations (curating our online identity and fighting those who would do harm with it) to the widespread political change that will transform the globe (through transformations in conflict, increasingly active and global citizenries, a new wave of cyber-terrorism and states operating simultaneously in the physical and virtual realms) to the ever present threats to our privacy and security, Schmidt and Cohen outline in great detail and scope all the promise and peril awaiting us in the coming decades.
MySQL Cookbook
Paul DuBois - 2002
Designed as a handy resource when you need quick solutions or techniques, the book offers dozens of short, focused pieces of code and hundreds of worked-out examples for programmers of all levels who don't have the time (or expertise) to solve MySQL problems from scratch.The new edition covers MySQL 5.0 and its powerful new features, as well as the older but still widespread MySQL 4.1. One major emphasis of this book is how to use SQL to formulate queries for particular kinds of questions, using the mysql client program included in MySQL distributions. The other major emphasis is how to write programs that interact with the MySQL server through an API. You'll find plenty of examples using several language APIs in multiple scenarios and situations, including the use of Ruby to retrieve and format data. There are also many new examples for using Perl, PHP, Python, and Java as well.Other recipes in the book teach you to:Access data from multiple tables at the same time Use SQL to select, sort, and summarize rows Find matches or mismatches between rows in two tables Determine intervals between dates or times, including age calculations Store images into MySQL and retrieve them for display in web pages Get LOAD DATA to read your data files properly or find which values in the file are invalid Use strict mode to prevent entry of bad data into your database Copy a table or a database to another server Generate sequence numbers to use as unique row identifiers Create database events that execute according to a schedule And a lot moreMySQL Cookbook doesn't attempt to develop full-fledged, complex applications. Instead, it's intended to assist you in developing applications yourself by helping you get past problems that have you stumped.
Googled: The End of the World as We Know It
Ken Auletta - 2009
This is a ride on the Google wave, and the fullest account of how it formed and crashed into traditional media businesses. With unprecedented access to Google's founders and executives, as well as to those in media who are struggling to keep their heads above water, Ken Auletta reveals how the industry is being disrupted and redefined.Auletta goes inside Google's closed-door meetings, introducing Google's notoriously private founders, Larry Page and Sergey Brin, as well as those who work with - and against - them. In Googled, the reader discovers the 'secret sauce' of the company's success and why the worlds of 'new' and 'old' media often communicate as if residents of different planets. It may send chills down traditionalists' spines, but it's a crucial roadmap to the future of media business: the Google story may well be the canary in the coal mine.Googled is candid, objective and authoritative. Crucially, it's not just a history or reportage: it's ahead of the curve and unlike any other Google books, which tend to have been near-histories, somewhat starstruck, now out of date or which fail to look at the full synthesis of business and technology.
97 Things Every Programmer Should Know: Collective Wisdom from the Experts
Kevlin Henney - 2010
With the 97 short and extremely useful tips for programmers in this book, you'll expand your skills by adopting new approaches to old problems, learning appropriate best practices, and honing your craft through sound advice.With contributions from some of the most experienced and respected practitioners in the industry--including Michael Feathers, Pete Goodliffe, Diomidis Spinellis, Cay Horstmann, Verity Stob, and many more--this book contains practical knowledge and principles that you can apply to all kinds of projects.A few of the 97 things you should know:"Code in the Language of the Domain" by Dan North"Write Tests for People" by Gerard Meszaros"Convenience Is Not an -ility" by Gregor Hohpe"Know Your IDE" by Heinz Kabutz"A Message to the Future" by Linda Rising"The Boy Scout Rule" by Robert C. Martin (Uncle Bob)"Beware the Share" by Udi Dahan
Computer Organization & Design: The Hardware/Software Interface
David A. Patterson - 1993
More importantly, this book provides a framework for thinking about computer organization and design that will enable the reader to continue the lifetime of learning necessary for staying at the forefront of this competitive discipline. --John Crawford Intel Fellow Director of Microprocessor Architecture, Intel The performance of software systems is dramatically affected by how well software designers understand the basic hardware technologies at work in a system. Similarly, hardware designers must understand the far reaching effects their design decisions have on software applications. For readers in either category, this classic introduction to the field provides a deep look into the computer. It demonstrates the relationship between the software and hardware and focuses on the foundational concepts that are the basis for current computer design. Using a distinctive learning by evolution approach the authors present each idea from its first principles, guiding readers through a series of worked examples that incrementally add more complex instructions until they ha
Deco Devolution: The Art of BioShock 2
Jordan Thomas - 2010
Contains concept art and models of the game's characters, locations, and weapons, as well as artists' comments on the work and the game.Note:The Rapture Edition Art book is a reduced version of the Special Edition Art book made to be a value against the Special Edition. It is reduced to 96 pages, and scaled down to the dimensions of the game case itself.The Special Edition Art book is the main version of BioShock 2's art book. It is 168 pages and is composed of 10 chapters.♢Chapter 1 - Citizens of Rapture♢Chapter 2 - Big Daddies♢Chapter 3 - Big Sisters♢Chapter 4 - Little Sisters♢Chapter 5 - Environments♢Chapter 6 - Weapons♢Chapter 7 - User Interface♢Chapter 8 - Advertisements♢Chapter 9 - Storyboards♢Chapter 10 - Credits
Growing Object-Oriented Software, Guided by Tests
Steve Freeman - 2009
This one's a keeper." --Robert C. Martin "If you want to be an expert in the state of the art in TDD, you need to understand the ideas in this book."--Michael Feathers Test-Driven Development (TDD) is now an established technique for delivering better software faster. TDD is based on a simple idea: Write tests for your code before you write the code itself. However, this simple idea takes skill and judgment to do well. Now there's a practical guide to TDD that takes you beyond the basic concepts. Drawing on a decade of experience building real-world systems, two TDD pioneers show how to let tests guide your development and "grow" software that is coherent, reliable, and maintainable. Steve Freeman and Nat Pryce describe the processes they use, the design principles they strive to achieve, and some of the tools that help them get the job done. Through an extended worked example, you'll learn how TDD works at multiple levels, using tests to drive the features and the object-oriented structure of the code, and using Mock Objects to discover and then describe relationships between objects. Along the way, the book systematically addresses challenges that development teams encounter with TDD--from integrating TDD into your processes to testing your most difficult features. Coverage includes - Implementing TDD effectively: getting started, and maintaining your momentum throughout the project - Creating cleaner, more expressive, more sustainable code - Using tests to stay relentlessly focused on sustaining quality - Understanding how TDD, Mock Objects, and Object-Oriented Design come together in the context of a real software development project - Using Mock Objects to guide object-oriented designs - Succeeding where TDD is difficult: managing complex test data, and testing persistence and concurrency
The Art of Video Games: From Pac-Man to Mass Effect
Chris Melissinos - 2012
Fueled by unprecedented advances in technology, boundless imaginations, and an insatiable addiction to fantastic new worlds of play, the video game has gone supernova, rocketing two generations of fans into an ever-expanding universe where art, culture, reality, and emotion collide. As a testament to the cultural impact of the game industry’s mega morph, the Smithsonian American Art Museum, with curator and author Chris Melissinos, conceived the forthcoming exhibition, The Art of Video Games, which will run from March 16 to September 30, 2012.* Welcome Books will release the companion book this March. Melissinos presents video games as not just mere play, but richly textured emotional and social experiences that have crossed the boundary into culture and art.Along with a team of game developers, designers, and journalists, Melissinos chose a pool of 240 games across five different eras to represent the diversity of the game world. Criteria included visual effects, creative use of technologies, and how world events and popular culture manifested in the games. The museum then invited the public to go online to help choose the games. More than 3.7 million votes (from 175 countries) later, the eighty winners featured in The Art of Video Games exhibition and book were selected.From the Space Invaders of the seventies to sophisticated contemporary epics BioShock and Uncharted 2, Melissinos examines each of the winning games, providing a behind-the-scenes look at their development and innovation, and commentary on the relevance of each in the history of video games. Over 100 composite images, created by Patrick O’Rourke, and drawn directly from the games themselves, illustrate the evolution of video games as an artistic medium, both technologically and creatively. Additionally, The Art of Video Games includes fascinating interviews with influential artists and designers–from pioneers such as Nolan Bushnell to contemporary innovators including Warren Spector, Tim Schafer and Robin Hunicke. The foreword was written by Elizabeth Broun, director of the Smithsonian American Art Museum and Mike Mika, noted game preservationist and prolific developer, contributed the introduction the introduction. *After Washington D.C., the exhibition travels to several cities across the United States, including Boca Raton (Museum of Art), Seattle (EMP Museum), Yonkers, NY (Hudson River Museum) and Flint, MI (Flint Institute of Arts). For the latest confirmed dates and venues, please visit the The Art of Video Games exhibition page at http://americanart.si.edu/taovg
Generation Decks: The Unofficial History of Gaming Phenomenon Magic The Gathering
Titus Chalk - 2017
The brainchild of misfit maths genius Richard Garfield, Magic combines fiendishly complex gameplay with collectability. When it came out in the early '90s it transformed the lives of gamers who had longed for a game that combined challenging mechanics and kick-ass artwork with a chance to connect and compete with likeminded people. Titus Chalk's tale is part biography, charting the author's own relationship with the game, part history, and part love letter to the card game that made it cool to be a geek. Prepare to meet Generation Decks, a community like no other...
Halo: The Fall of Reach
Eric S. Nylund - 2001
the desperate, take-no-prisoners struggle that led humanity to Halo--the fall of the planet Reach. Now, brought to life for the first time, here is the full story of that glorious, doomed conflict.While the brutal Covenant juggernaut sweeps inexorably through space, intent on wiping out humankind, only one stronghold remains--the planet Reach. Practically on Earth's doorstep, it is the last military fortress to defy the onslaught. But the personnel here have another, higher priority: to prevent the Covenant from discovering the location of Earth.Outnumbered and outgunned, the soldiers seem to have little chance against the Covenant, but Reach holds a closely guarded secret. It is the training ground for the very first "super soldiers." Code-named SPARTANs, these highly advanced warriors, specially bioengineered and technologically augmented, are the best in the universe--quiet, professional, and deadly.Now, as the ferocious Covenant attack begins, a handful of SPARTANs stand ready to wage ultimate war. They will kill, they will be destroyed, but they will never surrender. And at least one of them--the SPARTAN known as Master Chief--will live to fight another day on a mysterious and ancient, artificial world called Halo...
Time Management for System Administrators: Stop Working Late and Start Working Smart
Thomas A. Limoncelli - 2005
No other job pulls people in so many directions at once. Users interrupt you constantly with requests, preventing you from getting anything done. Your managers want you to get long-term projects done but flood you with reques ... Available here:readmeaway.com/download?i=0596007833Time Management for System Administrators: Stop Working Late and Start Working Smart PDF by Thomas A. LimoncelliRead Time Management for System Administrators: Stop Working Late and Start Working Smart PDF from O'Reilly Media,Thomas A. LimoncelliDownload Thomas A. Limoncelli’s PDF E-book Time Management for System Administrators: Stop Working Late and Start Working Smart
Of Dice and Men: The Story of Dungeons & Dragons and the People Who Play It
David M. Ewalt - 2013
Even if you’ve never played Dungeons & Dragons, you probably know someone who has: The game has had a profound influence on our culture. Released in 1974—decades before the Internet and social media—Dungeons & Dragons is one of the original ultimate nerd subcultures, and is still revered by more than thirty million fans. Now, the authoritative history and magic of the game is revealed by an award-winning journalist and life-long dungeon master.From its origins on the battlefields of ancient Europe, through the hysteria that linked it to satanic rituals and teen suicides, and to its apotheosis as father of the modern video game industry, Of Dice and Men recounts the development of a game played by some of the most fascinating people in the world. Chronicling the surprising history of D&D’s origins (one largely unknown even to hardcore players) while examining the game’s profound impact, Ewalt weaves laser-sharp subculture analysis with his own present-day gaming experiences. An enticing blend of history, journalism, narrative, and memoir, Of Dice and Men sheds light on America’s most popular (and widely misunderstood) form of collaborative entertainment.