کتاب الکترونیکی

توسعه برنامه شرکتی Ruby on Rails: برنامه ریزی، برنامه، توسعه: ساختن یک برنامه تجاری کامل Ruby on Rails از ابتدا تا انتها

Ruby on Rails Enterprise Application Development: Plan, Program, Extend: Building a complete Ruby on Rails business application from start to finish

دانلود کتاب Ruby on Rails Enterprise Application Development: Plan, Program, Extend: Building a complete Ruby on Rails business application from start to finish (به فارسی: توسعه برنامه شرکتی Ruby on Rails: برنامه ریزی، برنامه، توسعه: ساختن یک برنامه تجاری کامل Ruby on Rails از ابتدا تا انتها) نوشته شده توسط «Elliot Smith – Rob Nichols»


اطلاعات کتاب توسعه برنامه شرکتی Ruby on Rails: برنامه ریزی، برنامه، توسعه: ساختن یک برنامه تجاری کامل Ruby on Rails از ابتدا تا انتها

موضوع اصلی: سیستم های اطلاعاتی: کسب و کارهای EC

نوع: کتاب الکترونیکی

ناشر: Packt Publishing

نویسنده: Elliot Smith – Rob Nichols

زبان: English

فرمت کتاب: pdf (قابل تبدیل به سایر فرمت ها)

سال انتشار: 2007

تعداد صفحه: 525

حجم کتاب: 15 مگابایت

کد کتاب: 1847190855 , 9781847190857

توضیحات کتاب توسعه برنامه شرکتی Ruby on Rails: برنامه ریزی، برنامه، توسعه: ساختن یک برنامه تجاری کامل Ruby on Rails از ابتدا تا انتها

Ruby on Rails Enterprise Application Development توسط Elliot Smith و Rob Nichols جایگاه جدیدی را در دنیای کتاب های منتشر شده Rails هدف قرار می دهد. هدف آن اتصال همه نقاطی است که توسعه Rails معمولی را برای توسعه دهندگانی که آموزش‌ها را گذرانده‌اند، به هم متصل می‌کند، اما نمی‌دانم بعداً چه کار کنم؟

تمرکز این کتاب وسعت است و نه عمق. نویسندگان کار خوبی در ایجاد تعادل در توضیح مفاهیم ضروری Rails انجام می‌دهند و در عین حال به خواننده اجازه می‌دهند وقتی به موضوع پیشرفته‌تری نزدیک می‌شوند که به طور عمیق پوشش داده نمی‌شود، بداند.

در طول کتاب، نویسندگان یک سناریوی تخیلی و در عین حال واقع گرایانه را دنبال می کنند که در آن روری، مرد فناوری اطلاعات، یک برنامه ساده مدیریت مخاطبین مبتنی بر وب را پیاده سازی می کند. هر فصل بر اساس قدم زدن خواننده در کل فرآیند توسعه تا استقرار تولید است.

تا فصل 4، صفحه 91، هیچ توسعه ای برای Rails وجود ندارد. تاکید 90 صفحه اول، درک اینکه Rails چیست و چرا از آن استفاده می کنید، و همچنین معرفی سناریوی مشکلی است که در سراسر کتاب استفاده خواهد شد. این خاموشی بزرگ‌تر از آن زمان بود، اما نویسندگان این کار را جبران کردند و خواننده را با نصب همه چیز مورد نیاز برای توسعه Rails بر روی چندین سیستم‌عامل کمی راه انداختند.

به جای تمرکز بر یک پلتفرم واحد برای توسعه یا تولید، نویسندگان از یک محیط ترکیبی از لینوکس Ubuntu، OSX و Windows و یک پلتفرم متقابل Eclipse IDE استفاده می‌کنند. آن‌ها همچنین زمان می‌گذارند تا خواننده را در نصب و راه‌اندازی هر پلت‌فرم که مربوط به توسعه Rails است، بگذرانند.

اکثر پیشرفت های این کتاب به عملکرد موجود در خود Rails می چسبد. وقتی نوبت به اجزای اصلی Rails می‌رسد، نویسندگان کار بسیار خوبی برای پوشش دادن آنها انجام می‌دهند: مهاجرت‌ها، مدل‌ها، اعتبارسنجی‌ها، تداعی‌ها، کنترل‌کننده‌ها، فیلترها، نماها و کمک‌کنندگان مشاهده.

افزونه ها به جز acts_as_attachment پوشش داده نمی شوند که اکنون به نفع attachment_fu منسوخ شده است.

تنها مشکلی که با کتاب داشتم مربوط به بخش های تست بود. نویسندگان تست واحد و عملکرد را با چارچوب تست داخلی Rails پوشش می دهند. متأسفانه، نمونه آزمایش ها وحشتناک هستند و نباید در کد کیفیت تولید ظاهر شوند. بخش های مربوط به تست فقط باید برای درک نحوه عملکرد چارچوب تست داخلی در Rails استفاده شود و نه به عنوان نمونه ای برای نوشتن تست ها. خیلی بد است که نویسندگان تست ادغام را نیز پوشش نداده اند.

نکته خوبی که از بخش‌های تست این کتاب بیرون آمد، تشویق توسعه‌دهندگان به نوشتن تست‌هایی است که قبل از رفع اشکال‌ها را آشکار می‌کنند. این تنها راه برای اطمینان از اینکه شما واقعاً آن را تعمیر کرده اید.

Rails 1.2.3 در سرتاسر کتاب استفاده شده است، بنابراین هرگونه تغییر، بهبود یا منسوخ شدن در Rails 2.0 پوشش داده نمی شود. اگر خواننده کتاب را با Rails 1.2.3 دنبال کند، نباید مشکلی در راه رفتن و توسعه کد خود داشته باشد. اگر خواننده کتاب را با Rails 2.0 دنبال کند، باید از برخی از تغییرات آگاه باشد، این تغییرات را می توان در http://weblog.rubyonrails.org/2007/12/7/rails-2-0-it-s- پیدا کرد. انجام شده

چیزهایی که برای من جالب بود این بود:

* مشاهده نامگذاری فایلهای قالب قابل توجه
* پرحرفی عدم نامگذاری مسیرها

نویسندگان وقت صرف می کنند تا خواننده را در راه اندازی و استفاده از Subversion به عنوان بخشی جدایی ناپذیر از توسعه نرم افزار Rails راهنمایی کنند. همچنین شامل راه اندازی و استفاده از Apache و Mongrel برای سرویس دهی به Rails است. همانطور که کتاب از توسعه به استقرار تولید حرکت می کند، به کاربر نشان داده می شود که چگونه به طور خودکار از Subversion به سرور تولید خود با استفاده از Capistrano مستقر شود.

چند اشتباه تایپی جزئی و یک جمله اضافی در صفحه 52 وجود داشت. این به طور قابل توجهی کمتر از سایر کتاب های فنی است که من خوانده ام.

تنها بخش های قرمز غول پیکری که در کپی من مشخص شده اند، بخش هایی هستند که در حال آزمایش هستند. آن نمونه ها را با یک دانه نمک در نظر بگیرید.

به طور کلی، اکثر کتاب با توصیه های خوبی برای توسعه دهندگان Rails مبتدی پر شده است، مانند اینکه قبل از ایجاد و آزمایش محیط تولید منتظر نمانید تا برنامه شما ساخته شود و محیط تولید را آزمایش کنید و کاربران نهایی را در طول فرآیند درگیر کنید.

اگر شما یک توسعه‌دهنده تازه‌کار Rails هستید که تکه‌ها و تکه‌های Rails را می‌فهمید، این کتاب به خوبی نقاط دیگر را به هم متصل می‌کند، زیرا نویسندگان زمان صرف می‌کنند تا فرآیند کامل توسعه تا تولید را طی کنند. از سوی دیگر، اگر درک خوبی از کل فرآیند توسعه Rails دارید، می توانید این کتاب را نادیده بگیرید.


Ruby on Rails Enterprise Application Development by Elliot Smith and Rob Nichols targets a new niche in the Rails world of published books. Its goal is to connect all of the dots that make up typical Rails development for developers who have been through the tutorials, but wonder what do I do next?

The focus of this book is breadth and not depth. The authors do a good job of balancing the explanation of essential Rails concepts while letting the reader know when they are approaching a more advanced topic that wont be covered in depth.

Throughout the book the authors follow a fictional, yet realistic scenario in which Rory the IT guy implements a simple web-based contacts management application. Each chapter builds on the previous walking the reader through the whole process of development to production deployment.

There is no Rails development until Chapter 4, pg 91. The emphasis of the first 90 pages is understanding what Rails is and why you would use it, as well as introducing the problem scenario that will be used throughout the book. This would be a bigger turn off then it was, but the authors made up for this a little walking the reader through installing everything required for Rails development on multiple operating systems.

Rather then focus on a single platform for development or production the authors use a mixed environment of Ubuntu Linux, OSX and Windows and a cross platform Eclipse IDE. They also take the time to walk the reader through installation and setup of each platform as it pertains to Rails development.

The majority of the development in this book sticks to the functionality included in Rails itself. When it comes to core components of Rails the authors do a great job of covering them: migrations, models, validations, associations, controllers, filters, views and view helpers.

Plugins are not covered except for acts_as_attachment, which is now deprecated in favor of attachment_fu.

The only issue I had with the book was with the sections on testing. The authors cover unit and functional testing with the built-in Rails testing framework. Unfortunately, the example tests are horrible and should not appear in production quality code. The sections on testing should only be used to understand how the built-in testing framework works in Rails and not as an example for writing tests. It is too bad that the authors didnt cover integration testing either.

A good thing that did come out of the testing sections in this book is the encouragement for developers to write tests which expose bugs before fixing them. Its the only way to ensure you really fixed it.

Rails 1.2.3 is used throughout the book so any changes, improvements or deprecations in Rails 2.0 aren’t covered. If the reader follows the book with Rails 1.2.3 they should have no issues walking through and developing the code themselves. If the reader follows the book with Rails 2.0 they should be aware of some of the changes, those can be found at http://weblog.rubyonrails.org/2007/12/7/rails-2-0-it-s-done

The things that stuck out to me were:

* view template file naming considerablyntions
* the verbosity of not having named routes

The authors take the time to walk the reader through setting up and using Subversion as an integral part of Rails software development. It also includes setting up and using Apache and Mongrel to serve Rails. As the book moves from development to production deployment the user is shown how to deploy automatically from Subversion to their production server using Capistrano.

There were a few minor typos and one redundant sentence on page 52. This is considerably lower than other technical books that I’ve read.

The only giant red sections marked in my copy are the ones on testing. Take those examples with a grain of salt.

Overall, the majority of the book is filled with good advice for novice Rails developers like, do not wait until your application is built before you create and test the production environment and involve the end users throughout the process.

If you are a novice Rails developer who understand bits and pieces of Rails this book does a good job of connecting the other dots because the authors take the time to go through the full process of development to production. On the other hand if you have a good grasp on the whole Rails development process you can skip this book.

دانلود کتاب «توسعه برنامه شرکتی Ruby on Rails: برنامه ریزی، برنامه، توسعه: ساختن یک برنامه تجاری کامل Ruby on Rails از ابتدا تا انتها»

مبلغی که بابت خرید کتاب می‌پردازیم به مراتب پایین‌تر از هزینه‌هایی است که در آینده بابت نخواندن آن خواهیم پرداخت.