Wrapping Up
Testing concludes our whirlwind tour through the Rails framework. We’ve barely scratched the surface. Photo Share is not nearly complete. We could have easily added:
Security. This is available with the Rails login generator or one of the other login products. With a security model, you can let each user manage and share her own set of photos, instead of having one community model.
Uploading photos. You need to let the user upload photos by some other means, but Rails provides excellent support for simple tasks such as file uploads.
attachment_fu. This plug-in is excellent for managing file uploads. attachment_fu can also create thumbnails for you as your user uploads their photos!
Deployment. We’ve not even touched on pushing the Photo Share application into production, but good tools such as Capistrano (http://manuals.rubyonrails.com/read/book/17) allow one-click deployment and also a one-click reversal of changes.
Comments and blogging. You can allow discussion about slides and slideshows. Simple support isn’t difficult, but you can also build in the Typo blogging engine.
We’ve decided that these changes are beyond the scope of a quick-start book, but this list provides a sample of the community that’s rapidly developing behind Rails. After this pass through Photo Share, you will doubtlessly be excited about doing more. In the appendixes that follow, we’ll give you another whirlwind tour of what’s available and how to find more information.
In Rails, an idea is rapidly crystallizing ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access