Real Time Discussion Board Experiment
The prototype demo page can be found at: http://ngo-hung.com/project/myboard
The source code: https://github.com/thehung111/node-discussion-board
I have always been impressed with Node.js and Socket.io which enables us to write real time applications with little amount of code. My very first experience with Socket.io was to write a simple chat application. I was so excited back then as it took only around 15-20 lines of code.
After all the excitement and the 'WOW', it was time to begin writing a practical prototype which ideally have some real life application. As I was looking for some fun ideas, I noticed the scrumblr project which enables users to drag/drop notes or reminders on a virtual board. So, I thought of doing something similar but is slightly different. The idea also has some applications for e-learning which is something I am very interested in.
Below is what I have done for the mini-project:
The app now looks a bit nicer :)
2) There are 2 mini apps:
Chat Module : enable users to communicate with each other
Discussion Board: enable users to create notes/reminders and drag them on the board
The discussion blackboard also supports touch events. That mean users can make use of the app in IPad. Dragging support for both mobile and desktop can be done easily with the help of KineticJS and jQuery UI.
Finally, it was quite easy to put the app in PHP. I will make a note in another post.