NetTuts Exclusive: Twitter Emulation Using MooTools 1.2 and PHP

Written by David Walsh on Tuesday, November 11, 2008


This article may feature code that is no longer best practice in MooTools.
Click here to learn what has changed to make your code framework-compatible.

NetTuts debuted my article today: Twitter Emulation Using MooTools 1.2 and PHP! From the article:

People all over the world love Twitter because of how easy it is to use. All you need to do is type in your current status, click “Update”, and you’re done. What most people probably don’t know is how simple it is to emulate Twitter’s functionality. Using PHP, MySQL, and MooTools javascript, you can implement a Twitter-like status system in no time.

Head on over to NetTuts to read my article as well as some other great tutorials!


Epic Discussion

Commenter Avatar November 12 / #
Me says:

I was waiting to read another NetTuts guide with tons of mistakes that I could laugh at, but you ruined my fun by actually writing a decent one. I guess I should congratulate you ;)

David Walsh November 12 / #
david says:

@Me: Thank you? I believe NetTuts has quite a few good articles.

Commenter Avatar November 13 / #
Hugo says:

Yeah, pretty good article David. Rock on man!

Commenter Avatar November 21 / #
cssbit says:

thanks your David

Commenter Avatar March 25 / #
h-a-r-v says:

David.. could you provide a modified version of this great script so that it works as a guest book? In other words: same script, but not limited to one user usage only, just every one logged in.

It seems like it has it all to do that simple job, except that one-user-limitation. There’s no mootools 1.2 guest book and I’d love to use this script as one.

Commenter Avatar March 27 / #
h-a-r-v says:

OK, my back-end guy claims it’s not a problem, so I’ll post what he’s done later on, when it works.

Commenter Avatar June 29 / #
Pablo DiCiacco says:

Can you clarify the correct naming in the db section? Where this tut shows “nettuts1″ on line 11, what does that name reflect? The php-file name?
The db name? ???

David Walsh June 29 / #

@Pablo DiCiacco: “nettuts1″ is the database name which I now realize was incorrectly placed in the tutorial. Above, I used the name “statuses” for the table. In either case, they should be one in the same.

Commenter Avatar July 26 / #
joe says:

Hello David,
it is possible that Ii saw your articel on your own side first. Is seems that is gone now.
How I remember the content was different. Have I seen something with an automatical dataupdate (like an refresh) in the first version? (That you can use it like a chater)
May you have already the old link for us.

Be Heard!

I want to hear what you have to say! Share your comments and questions below.

Name*:
Email*:
Website:  


© David Walsh 2007-2010. Contact David Walsh. Powered by the remarkable MooTools javascript framework.