Chapter 2 explains what happens when you install the site, and which files will be created. It gives a detailed overview of the required software, and explains the basic configuration of CodeIgniter.
Chapter 3 explains how MVC helps to organize a dynamic website. It goes further to explain the process by which CodeIgniter analyzes an incoming Internet request and decodes which part of your code will handle it. Then CodeIgniter syntax rules and the different types of files or classes you can find—or write for yourself—on a CodeIgniter site are explained. At the end of the chapter, some practical hints on site design are given.
Chapter 4 looks at how you set up a database to work with CodeIgniter, and then how you use the Active Record class to manipulate the database.
By the time you're finished, you'll have learned more than just another web framework. You'll master database interactions, integration with Ajax and XML, rich content, and even dynamic graphing of your data -- all in a fraction of the time it takes to build the same apps with Java, PHP, ASP.NET, or Perl. You'll even get comfortable and familiar with Ruby, the language that underpins Rails. But you'll do it in the context of web programming, and not through boring exercises such as "Hello, World!"
Your time is way too valuable to waste struggling with new concepts. Using the latest research in cognitive science and learning theory to craft a multi-sensory learning experience, Head First Rails uses a visually rich format designed to take advantage of the way your brain really works.
Understand the secret powers unlocked by Ruby's code blocks Learn how to bend Ruby code without breaking it, such as mixing in modules on the fly Discover the ins and outs of testing and debugging, and how to design for testability Learn to write faster code by keeping things simple Develop strategies for text processing and file management, including regular expressions Understand how and why things can go wrong Reduce cultural barriers by leveraging Ruby's multilingual capabilities
This
book also offers you comprehensive chapters on driving code through
tests, designing APIs, and project maintenance. Learn how to make the
most of this rich, beautiful language with Ruby Best Practices.
There are plenty of books to help you get a FreeBSD or OpenBSD system off the ground, and all of them touch on security to some extent, usually dedicating a chapter to the subject. But, as security is commonly named as the key concern for today's system administrators, a single chapter on the subject can't provide the depth of information you need to keep your systems secure.
FreeBSD and OpenBSD are rife with security "building blocks" that you can put to use, and Mastering FreeBSD and OpenBSD Security shows you how. Both operating systems have kernel options and filesystem features that go well beyond traditional Unix permissions and controls. This power and flexibility is valuable, but the colossal range of possibilities need to be tackled one step at a time. This book walks you through the installation of a hardened operating system, the installation and configuration of critical services, and ongoing maintenance of your FreeBSD and OpenBSD systems.
Using an application-specific approach that builds on your existing knowledge, the book provides sound technical information on FreeBSD and Open-BSD security with plenty of real-world examples to help you configure and deploy a secure system. By imparting a solid technical foundation as well as practical know-how, it enables administrators to push their server's security to the next level. Even administrators in other environments--like Linux and Solaris--can find useful paradigms to emulate.
Written by security professionals with two decades of operating system experience, Mastering FreeBSD and OpenBSD Security features broad and deep explanations of how how to secure your most critical systems. Where other books on BSD systems help you achieve functionality, this book will help you more thoroughly secure your deployments.
Noted software expert Robert C. Martin presents a revolutionary paradigm with Clean Code: A Handbook of Agile Software Craftsmanship. Martin has teamed up with his colleagues from Object Mentor to distill their best agile practice of cleaning code “on the fly” into a book that will instill within you the values of a software craftsman and make you a better programmer—but only if you work at it.
What kind of work will you be doing? You’ll be reading code—lots of code. And you will be challenged to think about what’s right about that code, and what’s wrong with it. More importantly, you will be challenged to reassess your professional values and your commitment to your craft.
Clean Code is divided into three parts. The first describes the principles, patterns, and practices of writing clean code. The second part consists of several case studies of increasing complexity. Each case study is an exercise in cleaning up code—of transforming a code base that has some problems into one that is sound and efficient. The third part is the payoff: a single chapter containing a list of heuristics and “smells” gathered while creating the case studies. The result is a knowledge base that describes the way we think when we write, read, and clean code.
Readers will come away from this book understanding
- How to tell the difference between good and bad code
- How to write good code and how to transform bad code into good code
- How to create good names, good functions, good objects, and good classes
- How to format code for maximum readability
- How to implement complete error handling without obscuring code logic
- How to unit test and practice test-driven development
There's plenty of documentation on installing and configuring the Apache web server, but where do you find help for the day-to-day stuff, like adding common modules or fine-tuning your activity logging? That's easy. The new edition of the Apache Cookbook offers you updated solutions to the problems you're likely to encounter with the new versions of Apache. Written by members of the Apache Software Foundation, and thoroughly revised for Apache versions 2.0 and 2.2, recipes in this book range from simple tasks, such installing the server on Red Hat Linux or Windows, to more complex tasks, such as setting up name-based virtual hosts or securing and managing your proxy server. Altogether, you get more than 200 timesaving recipes for solving a crisis or other deadline conundrums, with topics including:
-
Security
-
Aliases, Redirecting, and Rewriting
-
CGI Scripts, the suexec Wrapper, and other dynamic content techniques
-
Error Handling
-
SSL
Performance
This book tackles everything from beginner problems to those faced by experienced users. For every problem addressed in the book, you will find a worked-out solution that includes short, focused pieces of code you can use immediately. You also get explanations of how and why the code works, so you can adapt the problem-solving techniques to similar situations. Instead of poking around mailing lists, online documentation, and other sources, rely on the Apache Cookbook for quick solutions when you need them. Then you can spend your time and energy where it matters most.
В книге рассматривается разработка высокопроизводительных, стабильных и расширяемых PHP-приложений, а также подробно освещаются методики блочного тестирования, обеспечения безопасности, методик кэширования и повышения производительности Web-приложений. Кроме того, в книге достаточно полно описано создание РНР- и Zend-расширений, увеличивающих возможности языка.
From the Back Cover
The practice of enterprise application development has benefited from the emergence of many new enabling technologies. Multi-tiered object-oriented platforms, such as Java and .NET, have become commonplace. These new tools and technologies are capable of building powerful applications, but they are not easily implemented. Common failures in enterprise applications often occur because their developers do not understand the architectural lessons that experienced object developers have learned.
Patterns of Enterprise Application Architecture is written in direct response to the stiff challenges that face enterprise application developers. The author, noted object-oriented designer Martin Fowler, noticed that despite changes in technology--from Smalltalk to CORBA to Java to .NET--the same basic design ideas can be adapted and applied to solve common problems. With the help of an expert group of contributors, Martin distills over forty recurring solutions into patterns. The result is an indispensable handbook of solutions that are applicable to any enterprise application platform.
This book is actually two books in one. The first section is a short tutorial on developing enterprise applications, which you can read from start to finish to understand the scope of the book's lessons. The next section, the bulk of the book, is a detailed reference to the patterns themselves. Each pattern provides usage and implementation information, as well as detailed code examples in Java or C#. The entire book is also richly illustrated with UML diagrams to further explain the concepts.
Armed with this book, you will have the knowledge necessary to make important architectural decisions about building an enterprise application and the proven patterns for use when building them.
The topics covered include:
Create a dynamic, fully featured, online store with the most powerful open source e-commerce software
- Step-by-step guide to building your own online store
- Focuses on the key features of Magento that you must know to get your store up and running
- Customize the store's appearance to make it uniquely yours
- Clearly illustrated with screenshots and a working example
- Understand the basics of regular expressions through a concise tutorial
- Use regular expressions effectively in several programming and scripting languages
- Learn how to validate and format input
- Manage words, lines, special characters, and numerical values
- Find solutions for using regular expressions in URLs, paths, markup, and data exchange
- Learn the nuances of more advanced regex features
- Understand how regular expression APIs differ from language to language
- Write better regular expressions for custom needs
Whether you're a novice or an experienced user, Regular Expressions Cookbook will help deepen your understanding of this tool. You'll learn powerful new tricks, avoid language-specific gotchas, and save valuable time with this huge library of proven solutions to difficult, real-world problems.
Souders' previous book, the bestselling High Performance Web Sites, shocked the web development world by revealing that 80% of the time it takes for a web page to load is on the client side. In Even Faster Web Sites, Souders and eight expert contributors provide best practices and pragmatic advice for improving your site's performance in three critical categories:
- JavaScript--Get advice for understanding Ajax performance, writing efficient JavaScript, creating responsive applications, loading scripts without blocking other components, and more.
- Network--Learn to share resources
across multiple domains, reduce image size without loss of quality, and
use chunked encoding to render pages faster.
- Browser--Discover alternatives to iframes, how to simplify CSS selectors, and other techniques.
Speed is essential for today's rich media web sites and Web 2.0 applications. With this book, you'll learn how to shave precious seconds off your sites' load times and make them respond even faster.
This book contains six guest chapters contributed by Dion Almaer, Doug Crockford, Ben Galbraith, Tony Gentilcore, Dylan Schiemann, Stoyan Stefanov, Nicole Sullivan, and Nicholas C. Zakas.
Discover how visitors use and interact with your site through web analytics, segmentation, conversions, and user interaction analysis Find out your market's motivations with voice-of-the-customer research Measure the health and availability of your website with synthetic testing and real-user monitoring Track communities related to your online presence, including social networks, forums, blogs, microblogs, wikis, and social news aggregators Understand how to assemble this data into clear reports tailored to your organization and audience
You can't fix what you don't measure. Complete Web Monitoring shows you how to transform missed opportunities, frustrated users, and spiraling costs into online success. "This is a very comprehensive view of just about everything one needs to know about how websites work and what one needs to know about them. I'd like to make this book required reading for every employee at Gomez." -- Imad Mouline, CTO of Gomez
The Microsoft Windows Presentation Foundation provides the foundation for building applications and high–quality user experiences in Windows Vista. WPF blends application user interface, documents, and media content to provide richer control, design, and development of the visual aspects of Windows programs.
Author Matthew MacDonald shows you how WPF really works. His no–nonsense, practical advice will get you building high–quality WPF applications quickly and easily. MacDonald will take you through a thorough investigation of the more advanced aspects of WPF, and its relation to other elements of the WinFX stack and the .NET Framework 3.5, to complete your understanding of WPF and C# 2008.
WPFs functionality extends to support for Tablet PCs and other forms of input device, and provides a more modern imaging and printing pipeline, accessibility and UI automation infrastructure, data–driven UI and visualization, as well as the integration points for weaving the application experience into the Windows shell.
This book is for anyone who wants to write good C# code—even if you have never programmed before. Writing good code can be a challenge—there are so many options, especially in a .NET language like C#. If you want to really get the best from a programming language, you need to know which features work best in which situations and understand their strengths and weaknesses. It is this understanding that makes the difference between coding and coding well.
Beginning C# 2008: From Novice to Professional, Second Edition has been written to teach you how to use the C# programming language to solve problems. From the earliest chapters, and from the first introductory concepts, you’ll be looking at real–world programming challenges and learning how C# can be used to overcome them. As you progress through the book, the problems become more involved and interesting, while the solutions become correspondingly more complex and powerful as C# features interact to achieve the results that you want.
This second edition has been revised and improved to now include the latest SQL Server 2008 release and explain how you can integrate SQL Server 2008 with your C# applications.
By the time you’ve finished reading this book and worked through the sample exercises, you’ll be a confident and very competent C# programmer. You will still have many explorations of the .NET Framework API to look forward to, but you will have a firm foundation to build from, and you will know exactly where to go to find the things that you need to progress confidently in your projects.
Rockford Lhotka started writing his Business Objects books in 1996, and over the years, hes become one of the worlds foremost authorities on building distributed object-oriented systems. His industry-standard VB .NET Business Objects book not only addresses changes in .NET 2.0 and Visual Studio 2005, but also reflects substantial enhancements and improvements to the CSLA .NET Framework and how it can be used to create enterprise-level .NET applications.
Expert C# Business Objects is for developers who want to see Lhotkas ideas applied in the C# idiom. The book takes you from an opening discussion of logical architectures to detailed n-tier deployment options using the CSLA .NET Framework.
The depth of Rockfords thinking now influences developers across language boundaries. With this book, you can learn directly from the expert whose framework has become universally accepted and respected.
Assuming only basic knowledge of C# 2008, Beginning C# 2008 Databases teaches all the fundamentals of database technology and database programming readers need to quickly become highly proficient database users and application developers.
A comprehensive tutorial on both SQL Server 2005 and ADO.NET 3.0, Beginning C# 2008 Databases explains and demonstrates how to create database objects and program against them in both T–SQL and C#. Full of practical, detailed examples, it’s been fully revised and updated for C# 2008 and offers the most complete, detailed, and gentle introduction to database technology for all C# programmers at any level of experience.
- Comprehensively and concisely explains fundamental database concepts and programming techniques
- Rich in working examples of both T–SQL and C# programs
- Covers all the features most database programming ever requires
What you’ll learn
- How relational databases work and how to use them
- How C# uses ADO.NET to access databases
- How to write stored procedures in T–SQL and call them from C# programs
- How to use XML in database applications
- How to use LINQ to simplify C# database programming
- How to install SQL Server 2005 Express and Visual C# 3.0
- Express and use them to teach yourself database programming by doing it
Ищу книги Разыскиваются следующие книги!
In Refactoring HTML, Elliotte Rusty Harold explains how to use refactoring to improve virtually any Web site or application. Writing for programmers and non-programmers alike, Harold shows how to refactor for better reliability, performance, usability, security, accessibility, compatibility, and even search engine placement. Step by step, he shows how to migrate obsolete code to today’s stable Web standards, including XHTML, CSS, and REST—and eliminate chronic problems like presentation-based markup, stateful applications, and “tag soup.”
The book’s extensive catalog of detailed refactorings and practical “recipes for success” are organized to help you find specific solutions fast, and get maximum benefit for minimum effort. Using this book, you can quickly improve site performance now—and make your site far easier to enhance, maintain, and scale for years to come.
In 1994, Design Patterns changed the landscape of object-oriented development by introducing classic solutions to recurring design problems. In 1999, Refactoring revolutionized design by introducing an effective process for improving code. With the highly anticipated Refactoring to Patterns, Joshua Kerievsky has changed our approach to design by forever uniting patterns with the evolutionary process of refactoring.
This book introduces the theory and practice of pattern-directed refactorings: sequences of low-level refactorings that allow designers to safely move designs to, towards, or away from pattern implementations. Using code from real-world projects, Kerievsky documents the thinking and steps underlying over two dozen pattern-based design transformations. Along the way he offers insights into pattern differences and how to implement patterns in the simplest possible ways.
Достаточно подробная кника по jQuery.
Примеры кода, описание популярных плагинов.
This book is not just for software developers. It is for anyone who produces things that change. CVS can manage versions of anything that can be stored in files, so it is useful for programmers, system administrators, software architects, writers, graphic artists, and user-interface (UI) specialists. Outside the computing field, it can be used by authors, poets, managers, architects, engineers, accountants, and people running their everyday lives.
Practical Subversion, Second Edition draws on the experience of its authors, Daniel Berlin and Garrett Rooneyboth Subversion project membersto guide you through a complete introduction to this popular code management solution. And this edition has been updated to reflect the most recent changes to the popular Subversion version control system. After a crash course on Subversions key features, including a theme project that youre encouraged to follow, youll explore best practices, migration tips for moving from other versioning solutions, Subversion integration, and an overview of the Subversion APIs.
Doom, the video game in which you navigate a dungeon in the first person and messily lay waste to everything that crosses your path, represented a milestone in many areas. It was a technical landmark, in that its graphics engine delivered brilliant performance on ordinary PC hardware.
The best available compromise is the concurrent versioning system (CVS), which introduces proctored code merging into source code management. CVS is ideally suited for worldwide open-source development, and the world is ready for monographs that address the management issues that Per Cederqvist explicitly avoided in his fine 164-page postscript manual distributed with the CVS tar-ball. What is the role of a maintainer/manager in establishing test protocols for code merges? What minimal functional level of developer communications is necessary for merges to remain stable? Is a maintainer-less release possible?
These questions go largely unanswered in Karl Fogel's new Open Source Development with CVS. Fogel's 300-page book consists of chapters alternating between CVS basics and common code maintenance issues. He includes a few anecdotes from open-source lore and lots of nonspecific commonsense guidelines on team software development.
Fogel is at his best when he is engaging us in thinking about what should and should not be under CVS control. He points out that complex relationships exist between developing code and its dependencies on intimately related applications, such as build tools themselves (gcc, autoconf) or partner applications (e.g., the server's client or the client's server). His brief discussion of strategies is too short to be satisfying.
Frustratingly, this book is chock-full of postmodern self-indulgences, such as his boasting reverence for technological ignorance. The discipline needed by good maintainers is missing here; Fogel's informal prose is often grating, and his copious parenthetical remarks are distracting or bullying (they sure are); one wonders where his editor was. Ultimately, his management arguments boil down to an endorsement for the benevolent dictatorship model--a safe conclusion, but one that seems not to use CVS's merging capability for all it's worth. To the question of how to run a project, he responds, "Well, we're all still trying to figure that out, actually." True, and he isn't there yet, but at least he has the questions right. --Peter Leopold --This text refers to an out of print or unavailable edition of this title.The popular first edition was one of the first books available on development and implementation of open source software using CVS. The second edition explains how CVS affects the architecture and design of applications, and has been enhanced with more value-added material covering strategies, third-party tools, scalability, client access limits, and overall server administration for CVS.
The first video game I ever played (at age 13) was Pong. It was a very simple ping-pong simulation. During my teenage years, a few, more advanced games appeared on the market. Most notable were the Atari games such as Missile Command, a nuclear warfare simulator. When I was 19, I went to live for a couple of years in Japan. There I discovered a whole new worldseveral, in fact.
With PHP breaking new ground in the enterprise arena, the establishment of a ratified certification was, some might say, inevitable. However, for me, it couldn’t come soon enough—and I was ecstatic when Zend launched their PHP 4 Certification. With more than 1,500 certified engineers to date, there is no doubt that their endeavour has been a success.
Now, with the introduction of the long-awaited PHP 5 certification, Zend has once again raised the bar for PHP developers everywhere. This examination is much broader, and requires much more than just theoretical knowledge—in order to pass the test, candidates need real-world knowledge in addition to a solid theoretical background.
The effect of the PHP 5 certification, for me, is even more profound than that of the original certification, and I believe that it will become the gold standard for those looking to hire PHP-centric Web Developers. I think that it is apt to consider Zend’s work a job well done, and to applaud those who invest the time and effort needed to become Zend Certified Engineers.
This concise and easy-to-use reference puts a very powerful tool for manipulating text and data right at your fingertips. Composed of a mixture of symbols and text, regular expressions can be an outlet for creativity, for brilliant programming, and for the elegant solution.
- Paul Fortier, University of Massachusetts, Dartmouth
"The book lives up to its title: it is a very practical guide. The authors clearly know their SQL and manage to write about the language in a step-by-step style that progresses smoothly from the simple to the more difficult aspects of the language. The profuse use of examples, each with an accompanying motivation and explanation of the results, lets the reader follow even complex topics without a constant struggle. The authors have even included examples that illustrate common errors programmers make, explaining the right way to perform the task. It doesn't hurt that the sample application is based on something everybody uses every day: food."
- Jim Melton, Oracle Corporation
"This book's authors recognize the vast majority of work done with a database is data retrieval (rather than storage) and have focused on this area."
- Australian Personal Computer, March 2006
- Offers hands-on tips and numerous code examples that show Web developers how to leverage content and feeds from today's top Web sites-including Google, eBay, PayPal, Amazon, Yahoo!, and FedEx
- Introduces APIs (Application Program Interfaces) in general and uses real-world examples that show how to produce and document them
- Explains how to use the popular scripting language PHP to create APIs that interact with unrelated applications over the Web
- Examples take readers through each stage of the API process, from basic test implementations to integration with existing sites
From the Back Cover
As the only book that details how to integrate different APIs and web feeds in PHP so websites can leverage content from eBay, Google, PayPal, Amazon, and FedEx, this hands-on guide takes you step by step through each stage of the API process. Experienced PHP programmer Paul Michael Reinheimer walks you through the production and consumption angles of web feeds and discusses XML-feeds so that you can access one of the fastest growing trends on the web. With real-world examples covering everything from basic test implementations to integration with existing sites, you'll learn how to produce and document your own APIs, which will allow you to expand your sites and may even prompt you to re-examine how you structure your code.
What you will learn from this book
- How to add a third party API to your site or program one of your own
- Ways that a small ISP can use the Yahoo!® XML feed to publish recent technology on a site
- Why APIs are the preferred method for disparate applications to interact over the web
- Differences between the functions of APIs and web feeds and the benefits each has to offer
- The basic structure for REST and SOAP APIs
+ В дополнение легкий мануал с перечнем основных функций (250Кб), очень полезный при работе с JQeury.
Web 2.0 makes headlines, but how does it make
money? This concise guide explains what's different about Web 2.0 and
how those differences can improve the bottom line. Whether you're an
executive, a small business owner, or an entrepreneur, Web 2.0: A Strategy Guide
illustrates through real life examples how various businesses are
creating new opportunities on today's Web. This book is about strategy
rather than the technology itself.Web 2.0 makes headlines, but how
does it make money? This concise guide explains what's different about
Web 2.0 and how those differences can improve your company's bottom
line. Whether you're an executive plotting the next move, a small
business owner looking to expand, or an entrepreneur planning a
startup, Web 2.0: A Strategy Guide illustrates through real-life examples how businesses, large and small, are creating new opportunities on today's Web.This book is about strategy. Rather than focus on the technology, the
examples concentrate on its effect. You will learn that creating a Web
2.0 business, or integrating Web 2.0 strategies with your existing
business, means creating places online where people like to come
together to share what they think, see, and do. When people come
together over the Web, the result can be much more than the sum of the
parts. The customers themselves help build the site, as old-fashioned
"word of mouth" becomes hypergrowth.
- Flickr, a classic user-driven business, created value for itself by helping users create their own value
- Google made money with a model based on free search, and changed the rules for doing business on the Web-opening opportunities you can take advantage of
- Social network effects can support a business-ever wonder how FaceBook grew so quickly?
- Businesses like Amazon tap into the Web as a source of indirect
revenue, using creative new approaches to monetize the investments
they've made in the Web
Unlike other C# books, which just show you examples and expect you to just memorize them and move on, Head First C# gets you writing code from the beginning. You're given the tools you need, and then you're guided through fun and engaging programming projects. You'll build programs to play a card game, explore a house, and help lazy programmers manage their sick day excuses. But it's not all fun and games: you'll build business applications too, like a contact database and a program to help a party planner estimate her dinner parties. You'll build a dungeon role-playing game and a fully animated, colorful simulation of a beehive. And by the end of the book, you'll build a fast-paced, full-featured retro Invaders arcade game.
Make no mistake: by the time you're done with Head First C#, you'll be able to build full-scale, complex, and highly visual programs. And you'll have all of the C# tools you need to tackle almost any programming problem that comes your way.
Head First C# is built for your brain, using the revolutionary approach that was pioneered by the highly acclaimed and popular Head First series. You'll never get that bored, "eyes glazed over" feeling from Head First C#, because it guides you through one challenging project after another until, by the end of the book, you're a C# rock star!
should know about when designing web sites.
At the end of Chapter 1, You: Programmer and Search Engine Marketer, you create the environment where you’ll be coding away throughout the rest of the book. Programming with PHP can be tricky at times; in order to avoid most configuration and coding errors you may encounter, we will instruct you
how to prepare the working folder and your MySQL database. If you aren’t ready for these tasks yet, don’t worry! You can come back at any time, later. All
programming-related tasks in this book are explained step by step to minimize the chances that anyone gets lost on the way.
Chapter 2, A Primer in Basic SEO, is a primer in search engine optimization tailored for the IT professional. It stresses the points that are particularly relevant to the programmer from the perspective of the programmer. You’ll also learn about a few tools and resources that all search engine marketers and web
developers should know about.
Accelerated C# 2005 teaches you both how to use core C# language concepts and wisely employ C# idioms and object-oriented design patternsto exploit the power of C# and the common language runtime. Youll quickly master C# syntax while learning how the CLR simplifies many programming tasks. Youll also learn best practices that ensure your code will be efficient, reusable, and robust.
This book is the fastest path to C# mastery for anyone familiar with object-oriented programming. Many books introduce C#, but very few also explain how to use it optimally with the .NET CLR. Why spend months or years discovering the best ways to design and code C#, when this book will show you how to do things the right way, right from the start?