Design Desktop Dummy Publishing Web
Sun, 21 Mar 2010 09:08:28 +0000
Tumblr is set to become the blogging tool of 2010 with its massive growth, yet still many people don’t fully understand what Tumblr does, or how it works. If you’ve ever tried to start a blog, but found yourself struggling to find the time, Tumblr is something you’re definitely going to want to take a look at.
What is tumblr?
Put simply, Tumblr is a service that does exactly what Wordpress does for blogging, but for microblogging, or tumbleblog’s instead. To fully understand what Tumblr does, you first need to understand what these so-called tumbleblog’s actually are.
A tumblelog is a variation of a blog, that favors short-form, mixed-media posts over the longer editorial posts frequently associated with blogging. Common post formats found on tumbleblogs include links, photos, quotes, dialogues, and video. Unlike blogs, this format is frequently used to share the author’s creations, discoveries, or experiences without providing a commentary. – Wikipedia
What does this mean? Well basically, Tumblr fills the gap between Twitter, where people tweet resources, images, and thoughts, and traditional blogging platforms, like Wordpress where each post is a proper article. Instead, Tumblr works with seven types of post; text, photo, quote, link, chat, audio and video, and it handles them all very well.
Why is Tumblr becoming increasingly popular?
According to Tumblr statistic’s, in the last six months, Tumblr has grown from around 300M monthly page views, to over 1 Billion in February 2010; a massive growth for any product, and it speaks for itself really. A product doesn’t grow at such a rapid rate, if people aren’t enjoying using it.
Easy to update
The biggest reason behind Tumblr’s growing support, is it’s vast number of social features, and it’s ease of use. For a start, Tumblr make it extremely offer for you to post to your blog, even if you can’t access your homepage yourself. Here are some of the clever ways Tumblr makes it possible for you to update your tumbleblog:
- Text your blog updates from any mobile phone
- Email your updates via one of the most sophisticated email publishing platform available.
- A Bookmarklet allows you to post anything and everything you come across while browsing the web.
- Post via AIM by messaging TumblrBot.
- Phone your TumblrBlog, and leave voice posts.
- Automatically post from any other site or profile.
- Use the official Tumblr iPhone app to easily update your blog.
- Third Party App’s expand your options even further.
3rd Party Applications
As well as the fantastic free iPhone app that is available officially from Tumblr, you also have access to a multitude of applications for the iPhone, Web, Desktop’s, Mobile’s, Widget’s and Browser’s. They are all filed away tidily in an official Tumblr app directory.
Social Network Integration
Definitely high up on the list of reasons for Tumblr’s acceptance has been its solid two-way integration with other social media, and networking services. Part of its automatic posting from other sites come from major names such as Digg, Youtube, Facebook and Twitter, but it doesn’t stop there. As well as having the ability to automatically pull in your content live from these sites, you can also send information back. Facebook is a prime example with its ability to show your activity on Tumblr on your Facebook wall, keeping all your friends up to date with what your blogging and activity.
Other notable features
Other than those already mentioned, Tumblr also focus’ on those important, but small things that you need.
- Easily add any analytics tracking code you want to your tumbleblog
- Tubmlr is optimised for Google in everything from the site slugs, to the sitemap
- Built in privacy allows you to restrict specific posts, or your whole blog to certain people
- The ability to use your own custom domains on your tumbleblog
- FeedBurner support allows you to see important RSS feed stats
- It’s free, and you don’t need to pay for hosting, or storage!
- You have the ability to create your own custom theme.
What is the backend of Tumblr like?
First off, Tumblr wouldn’t be where it was if it wasn’t for its easy to use backend user interface. The interface is split into two sections; the dashboard, where your’s and other peoples content meet you, and customisation, where you control all sorts of aspects of your tumbleblog.
Dashboard
Posting any of the seven different type’s of content from your dashboard is a breeze, with visual buttons, and a clean design. The backend goes on to keep you up-to-date with all the Tumbleblogs you are following, in a very Twitter like manner, keeping it clean and easy to read. For a look at how the dashboard looks, click on the image below.
Customisation
Customisation though, is a whole different kettle of fish. It is basically a dummy page of your current theme, with one default entry in each of the seven post categories. A menu bar at the top of the page allows you to make many important, and useful changes and decisions that affect your tumbleblog.
The menu provides a multitude of options;
- Info - This allows you to specify the basic information of your blog; things like your blog title, description, and avatar picture. The notable option here though, is the ability to change your tumbleblog url instantly, or even use your own personal domain allowing you to use a domain without the tumblr.com suffix.
- Theme – This menu item is fairly self-explanatory; it allows you to select a theme from Tumblr’s “theme garden” to use for your blog. There are over 300 of them, all for free, some of which are of an impressive quality. As well as using a premade theme though, you are given the option to use “custom html”, another way of saying your own custom-made theme, something we will go through in great detail at a later date.
- Appearance – This allows you to make quick changes to your current theme. Not every theme has appearance options, but the default Tumblr theme certainly does, and allows you to change things such as font’s, colour’s, and background images without touching any code; anther thing that makes Tumblr so popular for those that are not so comfortable delving into code.
- Pages – This allows you to create static pages, much like other blogging platforms such as wordpress. Pages come in three categories; Standard Layout, Custom Layout, and Redirect.
- Services – Already I have mentioned the great amount of social networking integration that Tumblr has, as well as its integration with other web services such as YouTube and Feedburner. Services allows you to pick and choose which of these services you want to use, and lets you connect all your accounts up.
- Community – This allows you to add, as the title dictates, a community element to your blog. There are to ways to do this. One is the creation of a page that allows your readers to ask you questions, and the other allows your users to contribute their own posts to your submission queue for approval by you.
- Advanced – The final menu item features further options for your blog that don’t really fit into the other categories. These are things like your timezone, url slug structure, privacy options, post’s per page, and so on.
As you change these options, especially your theme options, the dummy page below changes to mirror the choices you have made, allowing you to check how your blog will look, as you work.
Conclusion
Tumblr is a fantastic piece of kit, filling in that gap in the market between products such as wordpress that provide full blogs, social networking such as facebook, and status updating from Twitter, and it does it extremely well. Tumblr is honestly a pleasure to work with. Simplicity makes the user interface effect and easy to use, and you never feel like there isn’t anything important missing, or out of your control. It makes blogging and sharing things you find on the internet a breeze, and most importantly, unlike Twitter, it does so visually. If you find yourself failing to keep a full blog up-to-date, and enjoy sharing the things you find, the there’s no easier way to do so than Tumblr, so give it a go.
Keep an eye here at 1stwebdesigner for more on Tumblr!
For those that do choose to start using Tumblr, or already do, then keep an eye here, because coming up are several articles that will increase your happiness with Tumblr, such as a roundup of fantastic themes, and more importantly learning how to create your own custom theme! For now, check out these 5 impressive tumbleblogs for inspiration to see what Tumblr is truly capable of.
Metalab
It’s the interwebs
Mark Jardine
Tmblg
Name that film
Hope you enjoyed this post – keep coming back for more!
import javafx.scene.*;import javafx.scene.paint.*;
import javafx.scene.shape.*;
public class Board extends Scene {
def LIGHT_COLOR: Color = Color.web("lemonchiffon");
def DARK_COLOR: Color = Color.web("brown");
public-read var squareSize = bind {
if(width > height) {
height / 10;
} else {
width / 10;
}
}
public-read var xOffset = bind {
if (width > height) {
(width - height) / 2;
} else }
0;
}
}
public-read var yOffset = bind {
if (width > height) {
0;
} else {
(height - width) / 2;
}
}
def board = [ Coord.A8, Coord.B8, Coord.C8, Coord.D8,
Coord.E8, Coord.F8, Coord.G8, Coord.H8,
Coord.A7, Coord.B7, Coord.C7, Coord.D7,
Coord.E7, Coord.F7, Coord.G7, Coord.H7,
Coord.A6, Coord.B6, Coord.C6, Coord.D6,
Coord.E6, Coord.F6, Coord.G6, Coord.H6,
Coord.A5, Coord.B5, Coord.C5, Coord.D5,
Coord.E5, Coord.F5, Coord.G5, Coord.H5,
Coord.A4, Coord.B4, Coord.C4, Coord.D4,
Coord.E4, Coord.F4, Coord.G4, Coord.H4,
Coord.A3, Coord.B3, Coord.C3, Coord.D3,
Coord.E3, Coord.F3, Coord.G3, Coord.H3,
Coord.A2, Coord.B2, Coord.C2, Coord.D2,
Coord.E2, Coord.F2, Coord.G2, Coord.H2,
Coord.A1, Coord.B1, Coord.C1, Coord.D1,
Coord.E1, Coord.F1, Coord.G1, Coord.H1 ];
postinit {
for (square in board) {
def i: Integer = indexof square;
insert Rectangle {
fill: if (square.getIsWhite()) LIGHT_COLOR else DARK_COLOR
x: bind xOffset + ((i mod 8) + 1) * squareSize
y: bind yOffset + ((i / 8) + 1) * squareSize
width: bind squareSize
height: bind squareSize
} into content;
}
}
}
Coord is simply an enum that makes it easier for me to place pieces on the board. Coord also keeps track of whether or not the square at that coordinate is a dark or light colored square. In chess, the queen is always placed on her color and the lower left square on the board is always dark. This helps you keep from misplacing your king and queen on the board. JavaFX cannot create enums, so the Coord class is written in Java. This is why you need both a Java and a JavaFX compiler to build this project. You must build the Coord.java file using the Java compiler before you can build the JavaFX files using the JavaFX compiler.
This class uses a lot of binding. The first bind we see is for the class attribute squareSize. squareSize in this case is bound to an expression. If the value of the expression changes, the value of the squareSize attribute will automatically change to equal the new value of the expression. The expression that this attribute is bound to is a code block. The value of this code block is equal to the last line executed in the code block. In this case, the last line executed depends on the values of the width and height attributes of the Scene. The value of squareSize will be set to either height / 10; or width / 10;.
Our Board class will be placed in our Stage class (the main window for our application). Our Board will fill the entire client area of the Stage, this is basically the entire window excluding the frame. If we change the size of the window, the width and height attributes of our Board class will be modified. As these values are changed, the JavaFX runtime will automatically adjust the value of the squareSize attribute for us.
Similarly, the xOffset and yOffset attributes are also bound to the values of width and height.
postinit Instead of Constructors
The next set of binds that we see are in the postinit code block. Like I said earlier, JavaFX classes do not contain constructors. You often need to have code executed when an object is first instantiated. JavaFX allows you to specify code to be executed on object instantiation through the use of the postinit keyword. Code placed within the postinit code block will automatically be executed on the instantiation of the object, similar to a constructor call in Java.
In the Boards postinit block, we create a Rectangle for each square on the chess board. The location and size of each of the Rectangles on the board is bound to the values of the squareSize, xOffset, and yOffset. This is done by placing the bind keyword after the x, y, width, and height attributes of each of the Rectangles used for each of the squares and placing the expression that the attribute should be bound to after the bind keyword.
JavaFX has a New Set of Access Modifiers
The Board class uses an access modifier that does not exist in the Java programming language, public-read. JavaFX uses a new set of access modifiers which I will describe right now:
- default - If you do not use an access modifier for a variable or function it defaults to having script-only access. This means you can only access the variable/function from within the current script file. JavaFX has no
privateaccess modifier, the default access modifier in JavaFX is equivalent toprivatein Java. (Note: I use the terms variable and function since JavaFX does not require you to use classes, but if you are using a class I guess the better terms would be attribute and method.) package- This makes the variable or function available to any other code in the same package. This is similar to the default access modifier in Java (Java does not use thepackagekeyword as an access modifier.protected- This makes the variable/function available to any other code in the same package and also to all subclasses. Java uses the same keyword and it means the same thing.public- This makes the variable/function available to everybody for both read and write access. Java uses the same keyword and it means the same thing.public-read- We used this access modifier in ourBoardclass. This access modifier can only be applied to variables, it cannot be applied to functions.This gives everyone read access to the variable while restricting write access to the script. Java does not have a comparable access modifier. You can get the same functionality in Java by declaring the attributeprivateand providing apublicmethod that retrieves the value of the attribute. An example of this is given in the code below.public-init- A variable marked aspublic-initcan be written to by anyone when the object is first created. After the object is created, it can be read by anyone but can only be written to by the script that defines the variable. Like thepublic-readaccess modifier, thispublic-initaccess modifier can only be used on a variable, not on a function. An equivalent access modifier does not exist in Java. You can get the same functionality in Java by declaring the attributeprivate, providing apublicmethod that retrieves the value of the attribute, and allowing the attributes initial value to be set through a parameter to the constructor. An example of this is given in the code below:
"public-read" and "public-init" JavaFX Code Translated to Java Code
- Posted in Batik Design Malaysia Painting



