Catálogo de publicaciones - libros

Compartir en
redes sociales


Practical Rails Social Networking Sites

Alan Bradburne

Resumen/Descripción – provisto por la editorial

No disponible.

Palabras clave – provistas por la editorial

Software Engineering/Programming and Operating Systems

Disponibilidad
Institución detectada Año de publicación Navegá Descargá Solicitá
No detectada 2007 SpringerLink

Información

Tipo de recurso:

libros

ISBN impreso

978-1-59059-841-2

ISBN electrónico

978-1-4302-0273-8

Editor responsable

Springer Nature

País de edición

Reino Unido

Fecha de publicación

Información sobre derechos de publicación

© Apress 2007

Tabla de contenidos

Ruby, Ruby on Rails, and the RailsCoders Project

P ractical Rails Social Networking Sites is for developers who wish to build real-world community and social networking web sites using Ruby on Rails. In this book, we will develop a realworld community web site called RailsCoders, which you can find on the web at http:// railscoders.net; the site is built on the same code that is developed in this book.

Palabras clave: Text Editor; Desktop Application; Integrate Development Environment; Concurrent Version System; Command Window.

Pp. 1-20

Developing a Content Management System

In this chapter, we will start building the RailsCoders site by creating a content management system, which allows us to easily create, edit, and display pages through a web interface. Creating the content management system will provide the beginnings of the RailsCoders site and demonstrate how easily you can create a functional application in Rails.

Palabras clave: Database Schema; Content Management System; Page Data; Page Model; Helper Method.

Pp. 21-45

Adding Users and Groups

In this chapter, we will add user accounts and a role-based group system. This will allow your users to create accounts and log in to the site and allow you to maintain control by adding an administrator role to regulate who can administer the site.

Palabras clave: User Model; User Account; Partial File; User Object; Administrator Role.

Pp. 47-81

Building a News Blog with RSS Feeds and an API

In Chapter 2, we set up a system to allow an administrator to edit single pages. While this is helpful and allows you to set up the basic pages of a site, it would be much more interesting to have up-to-date news items showing on the front page, along with an archive of the news articles. Of course, it is up to you to actually add the news items, but doing so will help keep the site fresh.

Palabras clave: News Article; News Category; Category Controller; Index View; Admin User.

Pp. 83-116

Building a Discussion Forum

In this chapter, we will look at how we can build a discussion forum for our community site. This will allow our users to discuss various aspects of Ruby and Rails development. We will also use the forum to talk about this book and allow users to discuss the code or sites that they have developed using this book.

Palabras clave: Topic Model; Discussion Forum; Database Query; Moderator User; Post Controller.

Pp. 117-151

Building a Blogging Engine with Web Services Support

In this chapter, we will build a blogging service for the site, allowing each user to create a blog (a reverse chronological list of journal entries). Each blog entry allows comments to be left by other members of the community. in the future, this could be extended to allow guest visitors to the site to leave comments, too.

Palabras clave: Comment Controller; View File; Index View; Entry Controller; Migration File.

Pp. 153-190

Building a Photo Gallery

In this chapter, we will build an online photo gallery, allowing users to upload their photos from their PCs to their profiles on RailsCoders. While this is a nice way for us to encourage our users to get involved on the site and to make it more personal, it could also become the basis for a community built around photo sharing such as Flickr, Fotolog, or Phlog.

Palabras clave: Photo Model; File Type; Original File; Upload File; Photo Object.

Pp. 191-215

Sending E-mail and Building a Newsletter Mailing List

In this chapter, we will add functionality to allow the RailsCoders site to send e-mail to our users. There are many instances where it is useful to be able to automatically send e-mails directly to users, such as sending a welcome mail when they sign up or mail to allow them to reset their passwords. In this chapter, we will create an automated mailer that will inform users when someone has left a new comment in their blogs, which will allow the blog’s owner to quickly reply to the comment.

Palabras clave: Database Table; Comment Controller; Unit Test Case; View File; Comment Notification.

Pp. 217-245

Adding Friends with XFN Details

In this chapter, we will add friends to user profiles. This will allow users to add other users to a friends list. This friends list can then be viewed by any user, but most importantly, it will allow you to keep up to date with your friends by displaying your friends’ latest activities on the site. Since we don’t want to cause privacy concerns, this will be limited to showing only simple information about particular actions, such as if they have uploaded a new photo or posted a new entry to a blog.

Palabras clave: User Model; Late Activity; Photo Model; Friend Feature; Friend List.

Pp. 247-275

Adding Tags to the Photo Gallery

In this chapter, we will extend the photo gallery to support tagging. Tags are simply keywords that are used to describe a particular object. Tagging has become hugely popular for social web applications and is a very useful way of categorizing items that makes it very easy for users to search and browse objects. Some of the most successful web sites that use tagging are Flickr.com, del.icio.us, and Amazon.com.

Palabras clave: Photo Model; Partial View; Photo Object; Page Element; View File.

Pp. 277-299