Computers and Technology
Posts tagged server
Creating a Blogging System (Part 2)
Jan 18th
Okay, in my first tutorial, you learned about creating an install script for your blog as well as the entry form that will add your blogs.
In this tutorial, I’ll teach you how to parse the data out for your audience and how to edit your entries.
/* LET'S GET STARTED! */
Creating a Blogging system (part 1)
Jan 13th
Some time ago (a couple weeks), I created my own blogging system. No one told me how to do it and I didn’t read any tutorials on how to do it either so there were a few things I learned the hard way. As you know, Blogs are database-based, they’re all entries in a table.
You have an entry for the id, date, the content, and miscellaneous other information such as tags, and description. In this tutorial, I’d like to teach you how to do all that.
/* LET'S GET STARTED!*/
Bit.ly API and adding URLs to your MySQL database
Dec 21st
In my last tutorial, I’ve touched on how to use the to.ly API and how to make automatic “Tweet it” buttons with a relevant message.
Well, this can get problematic if with every page refresh, your server sends out a request to the to.ly server for a short link. Pretty soon, you’ll be getting “Too Many Connections” and you’re screwed. Just like I was, so here’s an idea. How about we store those links in a database….automatically?
You see, it’s much easier to create a script that will request a shortlink, adds the link to the database, and then just call it up whenever you need it. It works perfectly well on my quote site. Basically, whenever you create a website with get-requests, tons of pages, and all that. You can use the following script to make it all work, automatically (again).
“Tweet This” and URL shortening API
Dec 19th
Alright, you’ve all seen those CRAZY “Tweet This” buttons on so many websites, (mainly wordpress). You may have also noticed that some just send you to twitter and you have to manually input the twitter message. Well, how about we just make a button that will automate all this for us?
I really do love it when I click on that button and twitter pops up with a pre-written message like “Check out this site : URL GOES HERE” or “Crazy CSS tutorial on backgrounds. Check it out: URL GOES HERE”, it makes it much easier for me to share my finds. Here’s a great demo.
Okay, I’m working on a new website and it has various posts on it that I want the readers to be able to automatically share on twitter. I also want to include a backlink so that their twitter followers can visit the actual article. Basically, here’s a tutorial on shortening URLs using API and for creating a twitter button.
Ubuntu 9.10 Karmic Koala is here!
Oct 29th
Setting up (Part 1)
Sep 15th
Here’s the first part of my “Setting Up” tutorials. It will teach you how to set up to learn PHP, and for web development. It is my own personally journey as well because I’m getting ready to make new WordPress themes. I’m using Windows XP, soon will be upgrading to Windows 7 (when it comes out) so most of my tutorials will be Windows-oriented.
Installing the Server Software
The best way to learn PHP and scripting is at home and without buying a domain nor paying for hosting. So let’s set up your computer as a server using XAMPP. XAMPP stands for X (as in a variable instead of an OS name) Apache, MySQL, PHP, and PERL. You can use any other alternative depending on your operating system. There’s also WAMP for Windows (I use this one) and MAMP for Mac. All are basically the same with small differences. I’ll show you how to use XAMPP because it’s the most cross-platform package. I’ll do an article on how to set up your Linux with XAMPP later.
