Speed up an old computer
Recently, there are a number of friends to ask me how to Speed up their old computer. They are willing to pay a small amount of money to upgrade their hardware.
1. I will find some more RAM, at least, upgrade to 4GB, Ideally, 8GB is the best
2. If they are willing to pay, I will upgrade their OS hard disk in SSD,
If they are not possible, I will just ask install "Linux"!
Defining Styles in WPF
Of course, we can put the styles for controls in each windows xaml file. But I am more prefer to all styles storing in a single file, that is more similar with CSS file. If any changes in styles required, you need to modify a single file. That is more manageable.
But, please don't forget to add the reference in App.xaml:
<Application.Resources>
<ResourceDictionary Source=
"Styles.xaml"
/>
</Application.Resources>
For further details please visit our opensource project - AdvGenContact Manager
Warranty Cost
When you buy a new server, please do not just consider their price tag. Please also take Warranty Cost and what kinds of support the hardware provider can support. For the server, you won't use it just for a year. You must need to extend the warranty. Moreover, the server need to be always on, we need to consider the support, whether they can come on-site as soon as possible. Actually, those terms are more important than purchase price of server.
Example Codes for Bootstrap - BootSnipp
As you know, I am learning about Bootstrap recently. I read their tutorial, that is great! I learnt a lot. Moreover, I really need to see some examples. I found a very good website for this purpose, BootSnipp. There are a lot of example design elements using Bootstrap, including all essential elements to build a website, such as Panel Table and Accordion menu. That is very very useful!
Memory plays a more important role than before
I am using PHP more than 10 years now. In the old time, PHP is a very light weighted language. This is just a interpreted language. Nowadays, many new features are introduced in PHP world, such as CSSLESS and object-oriented. They required more memory and CPU processing power. For CSSLESS, this involved a compiler too! First times compiling, that required a lot of memory. Thus, if you build a PHP website, I suggest at least you have 512MB(Well, comparing in windows side, that is not much at all).