Online Advertisement cost more than before
I found the cost of traditional Online PPC Advertisement is increasing. That is because more people are using Online PPC Advertisement, therefore more people are getting in the bid of keywords. Well, even I said that costs more, that is much cheaper than other traditional media. I think we need to still work hard on finding a creative way of free advertisement, such as blogging, twitter and facebook. Cutting cost, mates.
Entity Framework sounds better than LINQ to SQL
Recently,I did some researches for Entity Framework and LINQ to SQL. I found Entity Framework sounds better. It got better facilities. It can generate data tables from EDX and if the tables can generate the updated classes from the database. If you are using LINQ to SQL, you need to update manually. Entity Framework sounds a more completed ORM, LINQ to SQL is only a tool to translate the objects into SQL. But I think LINQ to SQL is more lightweight.
ColorBox- Jquery Light Box Plugin
I found a good Jquery Light Box Plugin, ColorBox. I love it, because it supports to load iframe in a light style. That is a better way to load a sub-page rather than using a pop-up windows. It is less annoying. Moreover, that is easy to use, just like this:
Code
$(".iframelink").colorbox({ iframe: true, width: "80%", height: "80%" }); |
Google Web Fonts went strange
I have experienced a virtuemart page went very well in the development environment but after it went live, some fonts in the template went strange. That is because the live environment is https enabled and the template is hard code of the css files of Google Web Fonts in the page:
such as:
Code
<link href='http://fonts.googleapis.com/css?family=Oswald&v1' rel='stylesheet' type='text/css'> |
Well, that is not hard just two lines of PHP codes
Firstly, we should check whether they are in https site
Code
$httporhttps = ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') || $_SERVER['SERVER_PORT'] == 443) ? "https://" : "http://"; |
Then, we change all font css reference like this:
Code
<link href='<?php echo $httporhttps; ?>fonts.googleapis.com/css?family=Oswald&v1' rel='stylesheet' type='text/css'> |
Finally, the fonts will display correctly
IPhone 5 in Brisbane
Yesterday, I went to Vodafone Shop in City. I found they have iPhone 5 and the salesperson gave an iPhone 5 to me. I tried to use it for a few minutes. That is very light and sounds a bit lighter than my S3. Moreover, I found it has OLED, the color is sharper too. Generally, that is great, but the price is very expensive. I checked the basic plan is $30 per month and $18 for phone per month. For "$0 Phone" plan, that is $80 per month. That is a lot!