NetTuts Exclusive: Twitter Emulation Using MooTools 1.2 and PHP
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!
![Serving Fonts from CDN]()
For maximum performance, we all know we must put our assets on CDN (another domain). Along with those assets are custom web fonts. Unfortunately custom web fonts via CDN (or any cross-domain font request) don't work in Firefox or Internet Explorer (correctly so, by spec) though...
![How to Create a Twitter Card]()
One of my favorite social APIs was the Open Graph API adopted by Facebook. Adding just a few META tags to each page allowed links to my article to be styled and presented the way I wanted them to, giving me a bit of control...
![Facebook-Style Modal Box Using MooTools]()
In my oh-so-humble opinion, Facebook's Modal box is the best modal box around. It's lightweight, subtle, and very stylish. I've taken Facebook's imagery and CSS and combined it with MooTools' awesome functionality to duplicate the effect.
The Imagery
Facebook uses a funky sprite for their modal...
![Highlighter: A MooTools Search & Highlight Plugin]()
Searching within the page is a major browser functionality, but what if we could code a search box in JavaScript that would do the same thing? I set out to do that using MooTools and ended up with a pretty decent solution.
The MooTools JavaScript Class
The...
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 ;)
@Me: Thank you? I believe NetTuts has quite a few good articles.
Yeah, pretty good article David. Rock on man!
thanks your David
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.
OK, my back-end guy claims it’s not a problem, so I’ll post what he’s done later on, when it works.
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? ???
@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.
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.