Create a Mobile Web App with HTML5 – Part 1: The Basics

Having a mobile version of a website is a very important feature.  It is very simple to turn your site into a mobile web app. A Note on Design This tutorial mainly focuses on mobile web for iPhone/iPod Touch, however all you need to do is look up the dimensions to make it compatible with other systems. Create a design for the mobile site in both portrait (320x480px) and landscape (480x320px).  To support retina display, make sure the design is … Continue reading

Use the Tweet Button to Trigger an Event

The tweet button from Twitter is a great way for users to easily tweet content on a page.  At times, you may want to know whether or not the tweet was posted and take action upon that information, this is how to do so. JavaScript First, make sure this line of code is inserted, <script type=”text/javascript” src=”http://platform.twitter.com/widgets.js “></script> To execute some JavaScript code when a tweet is posted, use twttr.events.bind(‘tweet’, function(event) { //your code }); Want to execute code when … Continue reading

A Review of ByWord

ByWord is a great text editing application for the Mac, and now the iPhone and iPad. ByWord is plain, simple, elegant, and beautiful. Mac The Mac application supports all of the latest Lion features such as full screen, iCloud sync, autosave, and even versions. ByWord is extremely fast and has numerous keyboard shortcuts. In my opinion, the best feature is the markdown support. The Mac version includes two incredibly simple themes, light and dark. There is also a simple bottom … Continue reading

Writing Tips: Writing Clear & Concise Work

Writing is an art, and the best way to improve is simply to continue writing. That isn’t to say that you should keep writing bad work or that there aren’t immediate tips to seem more professional when writing. There are many areas of writing, but there are a few that we’ll focus on today. Additionally, these tips serve for writing good blog posts, not for academic papers. Layout Problems Be interesting. Lay out your post so that it keeps readers … Continue reading

Introduction to Object Oriented PHP: Classes

Classes are the basis of Object Oriented PHP and are extremely useful in larger coding projects.  Classes essentially allow for code actions to be completed multiple times but customized each time it is executed. Creating the Class Each class has different functions as well as some special functions. This is a class entitled “myClass”. It does not have any functions yet. Inputting Functions Here, I have added a function called “regularFunction” which requires to variables, it then echoes those variables. … Continue reading

Review of Concentrate: A Great App to Help You Focus

Concentrate is an amazing app to aid you in focusing on your Mac.  Essentially, you program it to close applications, block websites, open applications, change your desktop background, and much more.   What I Like Simplicity Using concentrate is quite simple, create an activity, name it, and tell it what you want it to do.  I love that.  It has everything you need in a very simple package. Helpfulness Concentrate is incredibly helpful and good at what it does.  It … Continue reading

Protect The Internet

Protect The Internet Congress is considering two well-intentioned but deeply flawed bills, the PROTECT-IP Act and the Stop Online Piracy Act (SOPA). As written, they would betray more than a decade of US policy and advocacy of Internet freedom by establishing a censorship system using the same domain blacklisting technologies pioneered by China and Iran. The bill had good intentions but has some major flaws.  If passed, it could block sites like Facebook, Twitter, and Tumblr.  It could punish ordinary … Continue reading

Create a Floating Navigation Bar

Floating navigation bars have become very popular on sites like Facebook and Google+.  It is a great way for users to be able to move efficiently around your site. Create a simple page structure with a header, content area, and footer. Make sure that the body has no margin, otherwise the navigation bar will look awkward.  Next, style the header div any way you like, then set the width to 100% and the position to fixed.  A height will also … Continue reading

Changes

It has been one year since I launched SiteKiwis and it has been great. Don’t worry, I’m not shuting the site down, or selling it. I’ve made a few changes. You might notice that the site’s design is different. That is one of the major changes made. Another is SiteKiwis’ content. There will still be one tutorial a week, however, you might sometimes get a technology tutorial, not just coding. In the comments, let me know what you’d like to … Continue reading

Creating a Beta Invite Referral System

I recently came across a question on Quora about creating a system that would count how many referrals someone has made and moving them up the beta invite list. To start, create a database. Create two tables, ‘users’ and ‘referrals’, and give them this structure (click to enlarge): Now, for some code. Start with a way for users to input their email address and add it to the database, then give them a link to share with their friends. The … Continue reading