Security on Rails

The advantage of using Rails is its agility; it makes developing your web applications easy and fast. The disadvantage is that it can leave holes in your security if you are not aware of common vulnerabilities. It’s a nerve-wracking and unfortunate fact that there are plenty of malicious people lurking on the Web. As a Rails developer, it is essential that you understand how to assess risk and protect your data and your users.

Security on Rails uses established security principles to teach you how to write more secure software, defend your applications from common threats, and encrypt your data. We’ll give you an example of a hacking exploit, and explore how to fix the weaknesses in an application.

You’ll learn the steps you need to take to control access to information and authenticate users, including cryptography concepts and authorization. In addition, you’ll see how to integrate your applications with external management systems; in short, the crucial details you must consider to protect yourself and your data.

The most important element of security is to plan for it before it becomes an issue. Security on Rails helps beginner and intermediate developers to take control of their applications and guard against attacks.

Agile Web Development with Rails (Pragmatic Programmers)

The definitive, Jolt-award winning guide to learning and using Rails is now in its Second Edition. Rails is a new approach to web-based application development that enables developers to create full-featured, sophisticated web-based applications using less code and less effort. Now programmers can get the job done right and still leave work on time. The book has been updated to take advantage of all the new Rails 1.2 features. The sample application uses migrations, Ajax, features a REST interface, and illustrates new Rails features. There are new chapters on migrations, active support, active record, and action controller (including the new resources-based routing).

The Web 2.0 and Deployment chapters have been completely rewritten to reflect the latest thinking. Now, you can learn which environments are best for your style application, and see how Capistrano makes managing your site simple. All the remaining chapters have been extensively updated. Finally, hundreds of comments from readers of the first edition have been incorporated, making this book simply the best available. Rails is a full-stack, open-source web framework that enables you to create full-featured, sophisticated web-based applications with a twist… you can create a full Rails application using less code than the setup XML you’d need just to configure some other frameworks. With this book, you’ll learn how to use Rails Active Record to connect business objects and database tables. No more painful object-relational mapping. Just create your business objects and let Rails do the rest. You’ll learn how to use the Action Pack framework to route incoming requests and render pages using easy-to-write templates and components. See how to exploit the Rails service frameworks to send emails, talk to web services, and interact dynamically with Javascript applications running in the browser (the “Ajax” architecture). You’ll see how easy it is to deploy Rails. You’ll be writing applications that work with your favorite database (MySQL, Oracle, Postgres, and more) in no time at all.

  • Taschenbuch: 720 Seiten
  • Verlag: (2007-01-05 )
  • Preis: 22.72 €
  • Sprache: english
  • ISBN-10: 0977616630
  • Autor(en): Dave Thomas, David Heinemeier Hansson
  • kaufen

Agile Webentwicklung mit Rails. Pragmatisch Programmieren

Manch Entwickler dürfte Tapestry oder Struts als Model-View-Controller-Architektur zur Entwicklung von Webanwendungen bekannt sein – Ruby on Rails ist jedoch (noch) ein eher unbekanntes Team, doch das Autorenduo David Thomas und David Heinemeier Hansson hat mit Agile Webentwicklung mit Rails nicht nur ein umfassendes und motivierendes Buch zu Ruby samt Rails geschrieben, sondern damit gleichzeitig einen Ausblick auf die Zukunft der Entwicklung, Verbreitung von Webanwendungen vorgelegt, der im wahrsten Sinne des Wortes vieles vereinfacht.

Agile Webentwicklung mit Rails ist eigentlich ein Doppelpack, besteht es doch im Grunde genommen aus einem Tutorial und einem Nachschlagewerk für Rails. Thomas und Hansson beginnen mit einem Einstieg in die Konzepte von Rails anhand eines einfachen Online-Shops — der dazugehörige Quellcode steht dabei zum Download bereit. Darauf folgen Funktionen und Einrichtungen von Rails und der Einsatz der verschiedenen Rails-Komponenten. Im Anhang finden Ruby-Anfänger eine kurze Einführung in die Programmiersprache.

Irgendwie scheint Agile Webentwicklung mit Rails zufrieden zu grinsen. Wenn ein Buch überhaupt grinsen kann. Zumindest haben Hansson und Thomas sichtlich Spaß beim Schreiben gehabt und man merkt bei jeder Seite, dass sie sich in der Ruby/Rails-Materie sichtlich wohl fühlen. Das ist ansteckend und überzeugend. –Wolfgang Treß

Java Magazin, April 2006
„Insgesamt bietet das Buch eine gute Einführung in Rails. Man lernt viel über Rails an sich und wie man es praktisch einsetzen kann. Der pragmatische Stil macht Lust auf mehr.“

  • Taschenbuch: Seiten
  • Verlag: (2006-01-16 )
  • Preis: 39.90 €
  • Sprache: german
  • ISBN-10: 3446404864
  • Autor(en):
  • kaufen

Rails Recipes. Pragmatic Programmers

Rails is large, powerful, and new. How do you use it effectively? How do you harness the power? And, most important, how do you get high quality, real-world applications written? From the latest Ajax effects to time-saving automation tips for your development process, „Rails Recipes“ will show you how the experts have already solved the problems you have.

It focuses on how to: use generators to automate repetitive coding tasks; create sophisticated role-based authentication schemes; add live search and live preview to your site; run tests when anyone checks code in; create tagged data the right way; and many, many more…Owning „Rails Recipes“ is like having the best Rails programmers sitting next to you while you code.

  • Taschenbuch: 344 Seiten
  • Verlag: (2006-04-01 )
  • Preis: 17.22 €
  • Sprache: english
  • ISBN-10: 0977616606
  • Autor(en): Chad Fowler
  • kaufen

Programmierung in Ruby

Der Leitfaden der Pragmatischen Programmierer.

Dies ist die deutsche Übersetzung des Programming Ruby – The Pragmatic Programmer’s Guide (erste Fassung).

Auf der Seite des Autors Jürgen Katins kann man das Buch online und zum Download zur Verfügung

  • Taschenbuch: Seiten
  • Verlag: (2005-12-23 )
  • Preis:
  • Sprache: german
  • ISBN-10:
  • Autor(en): Jürgen Katins
  • kaufen

Programming Ruby. The Pragmatic Programmer’s Guide

Ruby is an increasingly popular, fully object-oriented dynamic programming language, hailed by many practitioners as the finest and most useful language available today. When Ruby first burst onto the scene in the Western world, the Pragmatic Programmers were there with the definitive reference manual, “Programming Ruby: The Pragmatic Programmer’s Guide”.

Now in its Second Edition, author Dave Thomas has expanded the famous Pickaxe book with over 200 pages of new content, covering all the new and improved language features of Ruby 1.8 and standard library modules. The Pickaxe contains four major sections: an acclaimed tutorial on using Ruby; the definitive reference to the language; complete documentation on all built-in classes, modules, and methods; and complete descriptions of all 98 standard libraries. If you enjoyed the First Edition, you’ll appreciate the new and expanded content, including: enhanced coverage of installation, packaging, documenting Ruby source code, threading and synchronization, and enhancing Ruby’s capabilities using C-language extensions. Programming for the worldwide web is easy in Ruby, with new chapters on XML/RPC, SOAP, distributed Ruby, templating systems and other web services. There’s even a new chapter on unit testing. This is the definitive reference manual for Ruby, including a description of all the standard library modules, a complete reference to all built-in classes and modules (including more than 250 significant changes since the First Edition). Coverage of other features has grown tremendously, including details on how to harness the sophisticated capabilities of irb, so you can dynamically examine and experiment with your running code. “Ruby is a wonderfully powerful and useful language, and whenever I’m working with it this book is at my side” – Martin Fowler, Chief Scientist, ThoughtWorks.

  • Taschenbuch: 828 Seiten
  • Verlag: (2004-10-22 )
  • Preis: 23.18 €
  • Sprache: english
  • ISBN-10: 0974514055
  • Autor(en): Dave Thomas
  • kaufen

Agile Web Development with Rails (Pragmatic Programmers)

Rails is a full-stack, open-source web framework that enables you to create full-featured, sophisticated web-based applications, but with a twist… A full Rails application probably has less total code than the XML you’d need to configure the same application in other frameworks. With this book, you’ll learn how to use ActiveRecord to connect business objects and database tables.

No more painful object-relational mapping. Just create your business objects and let Rails do the rest. You’ll learn how to use the Action Pack framework to route incoming requests and render pages using easy-to-write templates and components. See how to exploit the Rails service frameworks to send emails, implement web services, and create dynamic, user-centric web-pages using built-in Javascript and Ajax support. There are extensive chapters on testing, deployment, and scaling. You’ll see how easy it is to install Rails using your web server of choice (such as Apache or lighttpd) or using its own included web server. You’ll be writing applications that work with your favourite database (MySQL, Oracle, Postgres, and more) in no time at all. You’ll create a complete online store application in the extended tutorial section, so you’ll see how a full Rails application is developed – iteratively and rapidly. Rails strives to honor the Pragmatic Programmer’s “DRY Principle” by avoiding the extra work of configuration files and code annotations. You can develop in real-time: make a change, and watch it work immediately. Forget XML. Everything in Rails, from templates to control flow to business logic, is written in Ruby, the language of choice for programmers who like to get the job done well (and leave work on time for a change). Rails is the framework of choice for the new generation of Web 2.0 developers. “Agile Web Development with Rails” is the book for that generation, written by Dave Thomas (Pragmatic Programmer and author of “Programming Ruby”) and David Heinemeier Hansson, who created Rails.

  • Taschenbuch: 450 Seiten
  • Verlag: (2005-09-22 )
  • Preis: 17.49 €
  • Sprache: english
  • ISBN-10: 097669400X
  • Autor(en): Dave Thomas, David Heinemeier Hansson
  • kaufen

Enterprise Integration with Ruby (Pragmatic Programmers)

Typical enterprises use dozens, hundreds, and sometimes even thousands of applications, components, services, and databases. These run on heterogeneous operating systems and hardware, they use databases and messaging systems from various vendors, and they were written in different programming languages. And it’s your job to make them work together. This book shows you how the power and elegance of Ruby can greatly simplify your job.

Use it as a glue language to bind your enterprise applications using technologies including – Oracle, MySQL, and friends: use relational databases directly, and via mapping layers such as ActiveRecord; LDAP: Harness the power of directory services; XML Documents: create, validate, and read XML documents for easy information interchange; Sockets, HTTP, and REST: sometimes the low-level communications protocols are the simplest way to get things moving; and, XML-RPC, SOAP, CORBA, RMI and others: and sometimes you need the high-level protocols to get the job done. This isn’t a book full of theory. Maik builds real life applications to illustrate all the techniques and technologies. It isn’t a love fest either: Maik isn’t afraid to point out the weaknesses in the approaches and in the libraries he’s describing.

  • Taschenbuch: 330 Seiten
  • Verlag: (2006-04-30 )
  • Preis: 16.62 €
  • Sprache: english
  • ISBN-10: 0976694069
  • Autor(en): Maik Schmidt
  • kaufen