NetTuts Exclusive: Twitter Emulation Using MooTools 1.2 and PHP

By  on  

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!

Recent Features

  • By
    CSS @supports

    Feature detection via JavaScript is a client side best practice and for all the right reasons, but unfortunately that same functionality hasn't been available within CSS.  What we end up doing is repeating the same properties multiple times with each browser prefix.  Yuck.  Another thing we...

  • By
    Conquering Impostor Syndrome

    Two years ago I documented my struggles with Imposter Syndrome and the response was immense.  I received messages of support and commiseration from new web developers, veteran engineers, and even persons of all experience levels in other professions.  I've even caught myself reading the post...

Incredible Demos

  • By
    WebKit-Specific Style:  -webkit-appearance

    I was recently scoping out the horrid source code of the Google homepage when I noticed the "Google Search" and "I'm Feeling Lucky" buttons had a style definition I hadn't seen before:  -webkit-appearance.  The value assigned to the style was "push-button."  They are buttons so that...

  • By
    LightFace:  Facebook Lightbox for MooTools

    One of the web components I've always loved has been Facebook's modal dialog.  This "lightbox" isn't like others:  no dark overlay, no obnoxious animating to size, and it doesn't try to do "too much."  With Facebook's dialog in mind, I've created LightFace:  a Facebook lightbox...

Discussion

  1. Me

    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 ;)

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

  3. Hugo

    Yeah, pretty good article David. Rock on man!

  4. thanks your David

  5. h-a-r-v

    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.

  6. h-a-r-v

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

  7. Pablo DiCiacco

    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? ???

  8. @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.

  9. 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.

Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!