مشخصات کتاب
-
Mariano Iglesias
-
2011
-
انگلیسی
-
5152
-
396
-
0
دانلود کتاب CakePHP 1.3 Application Development Cookbook
درکتاب CakePHP 1.3 Application Development Cookbook بیش از 60 دستورالعمل فوق العاده در رابطه با توسعه، حفظ، و استقرار اپلیکیشن های وب در این کتاب گنجانده شده است. این راهنمای آموزش برنامه نویسی، نحوه ی ایجاد اپلیکیشن های زیبا و مقیاس پذیر (scalable) با استفاده از CakePHP را آموزش می دهد. همچنین، کاربر فرا خواهد گرفت که قابلیت پشتیبانی جهانی، از قبیل ترجمه ی رکوردهای دیتابیس، را به اپلیکیشن خود اضافه نماید. در این مجموعه آموزش php، هر دستورالعمل به صورت یک توالی سازمان یافته از فرآیندها، برای تکمیل هرچه موثرتر وظایف، می باشد. به طور کلی، CakePHP یک فریم ورک توسعه ی سریع برای PHP می باشد که یک معماری قابل توسعه برای ارتقاء، حفظ، و استقرار اپلیکیشن های وب را فراهم می آورد. با وجود اینکه این کتاب دارای مستندات زیادی بوده و امکان دسترسی به راهنماهای مربوط به مرجع را برای افراد مبتدی فراهم نموده است، اما توسعه ی اپلیکیشن های پیچیده تر و مقیاس پذیرتر، نیازمند دانشی عمیق تر از ویژگی های CakePHP می باشد. این چالشی است که حتی توسعه دهندگان با تجربه را نیز درگیر می کند. دستورالعمل موجود در این کتاب، ضمن ارائه ی آنی و فوری نتایج، به شما کمک می کند که شیوه ی توسعه ی اپلیکیشن را فرا گرفته، و با تسلط بر روی ویژگی های CakePHP، اپلیکیشن های قوی و مقیاس پذیر را ایجاد نمایید. با به کارگیری این دستورالعمل ها قادر خواهید بود که این ویژگی ها را در هر زمان و مکان درک نموده، و آن ها را مورد استفاده قرار دهید. یکی از مهمترین جنبه های اپلیکیشن CakePHP عبارت است از رابطه ی بین مدل ها، که بعنوان ترکیب سازی مدل ها یا model binding نیز شناخته شده است. Model binding یک بخش جدا نشدنی از منطق هر اپلیکیشن می باشد، و می توان جهت دسترسی به دیتا در مواقع لزوم، آن را دستکاری نمود. دستورالعمل های موجود در این کتاب نشان می دهند که چگونه می توان این bindings (اتصالات) را واکشی (fetch) نمود، چه نوع binding و چه اطلاعاتی از آن binding برگردانده می شود، چگونه می توان binding های جدیدی ایجاد نمود، و چگونه می توان ساختارهای داده های سلسله مراتبی را ایجاد کرد.
Over 60 great recipes for developing, maintaining, and deploying web applications Create elegant and scalable web applications using CakePHP Leverage your find operations with virtual fields, ad-hoc queries, and custom find types Add full internationalization support to your application, including translation of database records Part of Packt's Cookbook series: Each recipe is a carefully organized sequence of instructions to complete the task as efficiently as possible In Detail CakePHP is a rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying web applications. While the framework has a lot of documentation and reference guides available for beginners, developing more sophisticated and scalable applications require a deeper knowledge of CakePHP features, a challenge that proves difficult even for well established developers. The recipes in this cookbook will give you instant results and help you to develop web applications, leveraging the CakePHP features that allow you to build robust and complex applications. Following the recipes in this book you will be able to understand and use these features in no time. We start with setting up authentication on a CakePHP application. One of the most important aspects of a CakePHP application: the relationship between models, also known as model bindings. Model binding is an integral part of any application's logic and we can manipulate it to get the data we need and when we need. We will go through a series of recipes that will show us how to change the way bindings are fetched, what bindings and what information from a binding is returned, how to create new bindings, and how to build hierarchical data structures. We also define our custom find types that will extend the three basic ones, allowing our code to be even more readable and also create our own find type, with pagination support. This book also has
Preface 1 Chapter 1: Authentication 7 Introduction 7 Setting up a basic authentication system 8 Using and configuring the Auth component 12 Allowing logins with username or e-mail 16 Saving the user details after login 19 Getting the current user's information 21 Using prefixes for role-based access control 24 Setting up Access Control Layer-based authentication 27 Integrating with OpenID 34 Chapter 2: Model Bindings 39 Introduction 39 Adding Containable to all models 40 Limiting the bindings returned in a find 41 Modifying binding parameters for a find 50 Modifying binding conditions for a find 55 Changing the JOIN type of one-to-one associations 56 Defining multiple associations to the same model 57 Adding bindings on the fly 60 Chapter 3: Pushing the Search 63 Introduction 63 Performing GROUP and COUNT queries 64 Using virtual fields 71 Building queries with ad-hoc JOINs 75 Searching for all items that match search terms 78 Implementing a custom find type 80 Paginating a custom find type 86 Implementing AJAX based pagination 88 Chapter 4: Validation and Behaviors 93 Introduction 93 Adding multiple validation rules 94 Creating a custom validation rule 98 Using callbacks in behaviors 103 Using behaviors to add new fields for saving 111 Using the Sluggable behavior 113 Geocoding addresses with the Geocodable behavior 117 Chapter 5: Datasources 123 Introduction 123 Improving the SQL datasource query log 123 Parsing CSV files with a datasource 130 Consuming RSS feeds with a datasource 135 Building a Twitter datasource 139 Adding transaction and locking support to the MySQL datasource 149 Chapter 6: Routing Magic 159 Introduction 159 Using named and GET parameters 160 Using routes with prefixes 166 Working with route elements 171 Adding catch-all routes for profile pages 174 Adding validation for catch-all routes 177 Creating custom Route classes 181 Chapter 7: Creating and Consuming Web Services 185 Introduction 185 Creating an RSS feed 186 Consuming a JSON service 192 Building REST services with JSON 197 Adding authentication to REST services 207 Implementing token-based authorization for API access 212 Chapter 8: Working with Shells 219 Introduction 219 Building and running a shell 219 Parsing command line parameters 224 Creating reusable shell tasks 229 Sending e-mails from shells 240 Non-interactive tasks with the robot plugin 244 Chapter 9: Internationalizing Applications 251 Introduction 251 Internationalizing controller and view texts 252 Internationalizing model validation messages 258 Translating strings with dynamic content 262 Extracting and translating text 265 Translating database records with the Translate behavior 269 Setting and remembering the language 274 Chapter 10: Testing 279 Introduction 279 Setting up the test framework 279 Creating fixtures and testing model methods 284 Testing controller actions and their views 294 Using mocks to test controllers 297 Running tests from the command line 301 Chapter 11: Utility Classes and Tools 303 Introduction 303 Working with the Set class 303 Manipulating strings with the String class 312 Sending an e-mail 315 Detecting file types with MagicDb 320 Throwing and handling exceptions 326 Index 333
دانلود کتاب Beginning PHP and MySQL 3
نویسنده این کتاب دارای بیش از 10 سال تجربه کار در زمینه آموزش برنامه نویسی با این فن آوری ها می باشد، و این کتاب را با نمونه های عملی و بینشی عمیق و وسیع تهیه کرده است. بر این اساس، به شما توصیه می کنیم که به این کتاب به عنوان کتابی مرجع در زمینه آموزش php نگاه کنید
نویسنده: W. Jason Gilmore
زبان: انگلیسی
دانلود کتاب Beginning PHP and MySQL E-Commerce
کتابBeginning PHP and MySQL E-Commerce مراحل گام به گام طراحی و ساخت اپلیکیشن قابل گسترش برای یک وبسایت تجاری را آموزش می دهد. این کتاب با ارائه ی مثال واقعی از یک وبسایت فروش تی شرت، به شما می آموزد که چگونه می توانید یک کاتالوگ محصولات را ایجاد و کنترل نمایید
نویسنده: Cristian Darie و Emilian Balanescu
زبان: انگلیسی
دانلود کتاب Practical Web 2.0 Applications with PHP
در این کتاب، تکنولوژی های مربوط به توسعه ی زبان های PHP، MySQL، CSS، HTML، و JavaScrip/Ajax، در کنار هم ارائه شده اند تا به شما نشان دهند چگونه می توان اپلیکیشن های بسیار چشم گیری را، از لحظه ی طراحی و برنامه نویسی گرفته تا اجرای نهایی کد، و بدون نیاز به اصول غیر ضروری دیگر که عمدتا شما را به سمت عقب سوق می دهند، ایجاد نمود.
نویسنده: Quentin Zervaas
زبان: انگلیسی