Thursday, March 28, 2013

New Twitter blue bird icon

Twitter updated its icon. It is now simpler, younger and more dynamic. The blue bird's head has been shaven too.


If you want to update the icons on your website you can download the vector files here (also attached below):
Positive: http://www.brandsoftheworld.com/logo/twitter-2012-positive
Negative: http://www.brandsoftheworld.com/logo/twitter-2012-negative

Usage guidelines

Do:
• Use our official, unmodified Twitter bird to represent our • brand.
• Make sure the bird faces right.
• Allow for at least 150% buffer space around the bird.
Don't:
• Use speech bubbles or words around the bird.
• Rotate or change the direction of the bird.
• Animate the bird.
• Duplicate the bird.
• Change the color of the bird.
• Use any other marks or logos to represent our brand.

How Much the World's Most Iconic Logos Cost Companies to Design Them

The price tag for some of the most iconic logos of all time varies drastically. While some of the most iconic brands in the world cost hundreds of millions of dollars to create, others got away with a check for just $15. Some spent nothing.

A good logo is crucial for a company's branding strategy.

While Pepsi recently redesigned its bottle, it decided to keep its logo, which it redesigned in 2008 for $1 million. (Signing Beyonce as a multi-year brand ambassador cost the company $50 million.)

Stock Logos—a site that offers, well, stock logos—has compiled a list that reveals how much Coca-Cola, Nike and other companies spent creating their logos.

But you'll be surprised which companies spent millions and which spent the cost of a movie ticket on their iconic images.

Microsoft: $0
Microsoft
 Google: $0


Although Google's famous, rainbow logo has gone through minor alterations over the years, the original design was created in 1998 by Google co-founder Sergey Brin on the free graphics program called GIMP. Then Ruth Kedar, a mutual friend of Brin and Larry Page from Stanford, got to work on other logo prototypes.

Coca-Cola: $0
 Coke's famous logo was created by its founder's partner and bookkeeper, Frank M. Robinson, in 1886. According to the soft drink's website, Robinson "suggested the name Coca‑Cola, thinking that ‘the two Cs would look well in advertising’. He wanted to create a unique logo to go with it, and experimented writing the company’s name in elaborate Spencerian script, a form of penmanship characteristic of the time."

The best things in life are free.

Twitter: $15


Twitter bought rights to the now-famous Twitter bird for $15 on iStockphoto. Artist Simon Oxley, a British citizen living in Japan, might have only received $6 for his work—without a credit. However, the bird has undergone a recent makeover.

Nike: $35
Nike co-founder Phil Knight purchased the famous swoosh logo from graphic design student Carolyn Davidson in 1971. Knight was teaching an accounting class at Portland State University, and he heard Davidson talking about not being able to afford oil paints in the halls. That's when he offered her $2/hour to do charts, graphs, and finally a logo.

"I don't love it, but maybe it will grow on me," Knight said, after doling out $35 for the swoosh.

Enron: $33,000

Paul Rand was paid $33,000 for creating the Enron logo in the 1990s. Rand also created logos for ABC, IBM, UPS, NeXT, and Westinghouse.

Pepsi: $1 million


Arnell Group redesigned Pepsi's logo to the tune of $1 million in 2008. According to Stock Logos, "The listed prices include a complete branding package unless otherwise noted."

A 27-page document, titled "Breathtaking," was full of pop-culture buzz words explaining Arnell's methodology for the redesign. The report was mocked using phrases like: "Emotive forces shape the gestalt of the brand identity."

BBC: $1.8 million 


The BBC made over its logo in 1997, switching from slanted fonts and splashes of color to the simple, letter boxes typed in Gill Sans.

Accenture: $100 million
 
 
Accenture
The consultancy's change from "Arthur Andersen" to Accenture was one of the most expensive rebrandings of all time. 

Top 10 MySQL Mistakes Made By PHP Developers

A database is a fundamental component for most web applications. If you’re using PHP, you’re probably using MySQL–an integral part of the LAMP stack.
PHP is relatively easy and most new developers can write functional code within a few hours. However, building a solid, dependable database takes time and expertise. Here are ten of the worst MySQL mistakes I’ve made (some apply to any language/database)…

1. Using MyISAM rather than InnoDB

MySQL has a number of database engines, but you’re most likely to encounter MyISAM and InnoDB.
MyISAM is used by default. However, unless you’re creating a very simple or experimental database, it’s almost certainly the wrong choice! MyISAM doesn’t support foreign key constraints or transactions, which are essential for data integrity. In addition, the whole table is locked whenever a record is inserted or updated; this causes a detrimental effect on performance as usage grows.
The solution is simple: use InnoDB.

2. Using PHP’s mysql functions

PHP has provided MySQL library functions since day one (or near as makes no difference). Many applications rely on mysql_connect, mysql_query, mysql_fetch_assoc, etc. but the PHP manual states:
If you are using MySQL versions 4.1.3 or later it is strongly recommended that you use the mysqli extension instead.
mysqli, or the MySQL improved extension, has several advantages:
  • an (optional) object-oriented interface
  • prepared statements (which help prevent SQL-injection attacks and increase performance)
  • multiple statements and transaction support
Alternatively, you should consider PDO if you want to support multiple databases.

3. Not sanitizing user input

This should probably be #1: never trust user input. Validate every string using server-side PHP — don’t rely on JavaScript. The simplest SQL injection attacks depend on code such as:

    $username = $_POST["name"];
    $password = $_POST["password"];
    $sql  = " SELECT userid FROM usertable WHERE username='$username' ";
    $sql .= " AND password='$password'; ";
    // run query...
 
This can be cracked by entering “admin'; --” in the username field. The SQL string will equate to:

SELECT userid FROM usertable WHERE username='admin';
The devious cracker can log in as “admin”; they need not know the password because it’s commented out of the SQL.

4. Not using UTF-8

Those of us in the US, UK, and Australia rarely consider languages other than English. We happily complete our masterpiece only to find it cannot be used elsewhere.
UTF-8 solves many internationalization issues. Although it won’t be properly supported in PHP until version 6.0, there’s little to prevent you setting MySQL character sets to UTF-8.

5. Favoring PHP over SQL

When you’re new to MySQL, it’s tempting to solve problems in the language you know. That can lead to unnecessary and slower code. For example, rather than using MySQL’s native AVG() function, you use a PHP loop to calculate an average by summing all values in a record-set.
Watch out also for SQL queries within PHP loops. Normally, it’s more effective to run a query then loop through the results.
In general, utilize the strengths of your database when analyzing data. A little SQL knowledge goes a long way.

6. Not optimizing your queries

99% of PHP performance problems will be caused by the database, and a single bad SQL query can play havoc with your web application. MySQL’s EXPLAIN statement, the Query Profiler, and many other tools can help you find that rogue SELECT.

7. Using the wrong data types

MySQL offers a range of numeric, string, and time data types. If you’re storing a date, use a DATE or DATETIME field. Using an INTEGER or STRING can make SQL queries more complicated, if not impossible.
It’s often tempting to invent your own data formats; for example, storing serialized PHP objects in string. Database management may be easier, but MySQL will become a dumb data store and it may lead to problems later.

8. Using * in SELECT queries

Never use * to return all columns in a table–it’s lazy. You should only extract the data you need. Even if you require every field, your tables will inevitably change.

9. Under- or over-indexing

As a general rule of thumb, indexes should be applied to any column named in the WHERE clause of a SELECT query.
For example, assume we have a usertable with a numeric ID (the primary key) and an email address. During log on, MySQL must locate the correct ID by searching for an email. With an index, MySQL can use a fast search algorithm to locate the email almost instantly. Without an index, MySQL must check every record in sequence until the address is found.
It’s tempting to add indexes to every column, however, they are regenerated during every table INSERT or UPDATE. That can hit performance; only add indexes when necessary.

10. Forgetting to back up

It may be rare, but databases fail. Hard disks can stop. Servers can explode. Web hosts can go bankrupt. Losing your MySQL data is catastrophic, so ensure you have automated backups or replication in place.

11. Bonus mistake: not considering other databases!

MySQL may be the most widely used database for PHP developers, but it’s not the only option. PostgreSQL and Firebird are its closest competitors; both are open source and not controlled by a corporation. Microsoft provide SQL Server Express and Oracle supply 10g Express; both are free versions of the bigger enterprise editions. Even SQLite may be a viable alternative for smaller or embedded applications.

Have I missed your worst MySQL mistakes? Write on the comments

Monday, March 25, 2013

SIX Ways to Improve Navigation and Increase PageViews



There have been numerous posts written by many people on how to increase traffic to your Blog. This “How To…” is for after you have gone through all of the basic steps such as SEO and Linking etc.

Once you have gotten people to come to your site, how do you get them to stay?

Navigation…

Most Blogging platforms leave a lot to be desired in helping your readers find anything on your site other than the landing page and Archives listed by week or month. Here are some simple steps to help visitors find things that they may be interested in or if they want more information on something you may have written previously.

~~ Use Categories. Not every platform (especially Blogger) has the capability to enable Categories. They give a quick reference to what other Subjects you have written about that may interest your reader. I explained in a post a while back on how I Added a Category List to my Blogger Blog.

~~ Intra-link. There are a lot of times you’ll find that you had written something previously that is relevant to your current topic. If that is the case, provide a link within the text (as I did above) to that information so the reader doesn't have to go looking for it.

~~ Related Posts. After you have been writing for a while, there is usually something in your archives that you know about that will provide additional information or is related to the subject in some way. Put these links at the bottom of your post as a reference source.

~~ Recent Posts. Not every platform and template provides for a list of your most recent posts, in that case you will want to add some type of Plug-in. Luckily, I didn't use one but you want a reader to know what had been written recently. Most will allow various amounts of days shown, I set mine for 7 days.

~~ Recent Comments. I found the bdp-comments Plug-in to show comments on different posts and the author in descending order. There are many variations out there. If readers see that other people are commenting, they may be tempted to join in and voice their opinion.

~~ Link to Series. Most likely you have written at least one series of posts on a particular subject. In that case, you don’t want them to get lost. Put a link to the First post in the sidebar and make sure you have links on each post, one to the next (if you use Blogger). I found the In-Series Plug-in for WordPress that simplifies the process.

These are not the only ways to improve page views and length of time visitors spend reading your material. Can you add to the list?


Write your answers on the comment  box below...