Join Joseph LeBlanc for an in-depth discussion in this video Creating a Drupal chatroom back-end, part of Node.js First Look.
In the previous video, we added the front-end for a chat room in Drupal.…Now let's add the backend code so that Drupal users can talk to each other…through the chat room.…I've added two users to my Drupal installation; Tom and Joe.…I'll be logging in with these users when the chat room is ready.…Be sure to have at least two users in your Drupal installation.…I've also copied the chat room code from the exercise files onto the desktop;…package.json has dependencies, so let's install them.…
Now that our modules are installed, let's take a look at server.js.…We're requiring two new modules,…one called Drupal, and one called Cookie.…We'll be using them together to authenticate the cookie information against…the Drupal database.…Now let's connect to the Drupal database.…We're calling the connect method of the DB object in the Drupal module.…We need the host, user, password, and database for the MySQL database…where Drupal lives.…Let's go get that information now. I'm using XAMPP.…
So I'm going to go to Applications > XAMPP > htdocs > drupal > sites > default…
- Using the Socket.IO Node package to achieve "live" effects like Facebook notifications
- Scraping web sites using jQuery without a browser
Skill Level Beginner
Q: Does the instruction from "Selecting through browserless jQuery" work for Windows users?
A: The “Selecting through browserless jQuery” video does not work on Windows
XHTML and HTML Essential Trainingwith Bill Weinman4h 44m Beginner
1. Installing Node
2. Getting Started
Running a Node script2m 6s
4. Command Line Scripts
5. Creating Web Servers
7. WebSocket Programming
8. Connecting Beyond Node
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.