I know, these are not new, but I didn't know better before.
- String to StringBuilder
- Double buffering
- AJAX
- Silverlight
String to StringBuilder
Especially when manipulating strings, 2 - 3 times at most, the String var type is still OK. More than that, you should be considering the use of StringBuilder.
One of the problems that I encountered with StringBuilder is the clearing or blanking off of the var. Then I found out that in .NET Framework 4.0, the Clear() method is already available. In 3.5 or lower, you can set the Length = 0, which effectively resets the char length.
The StringBuilder also has Append() and Appendline() methods, which effectively obsoletes the equivalent coding for String, like "& vbCrLf", etc.
Double buffering
A very simple functionality, but like I said, I didn't know better. So my Windows forms are now flicker-free.
AJAX
Now this is new. I am yet to implement this, because Web forms are a transition for me, at least I know that there is a technology that is available to my use - for a better experience of my users, performance-wise!
Silverlight
Adding to AJAX, Silverlight is another trick up my sleeve. Well, this is on the graphics side of webpages, so that they are more pleasing and more attractive.
Especially when manipulating strings, 2 - 3 times at most, the String var type is still OK. More than that, you should be considering the use of StringBuilder.
One of the problems that I encountered with StringBuilder is the clearing or blanking off of the var. Then I found out that in .NET Framework 4.0, the Clear() method is already available. In 3.5 or lower, you can set the Length = 0, which effectively resets the char length.
The StringBuilder also has Append() and Appendline() methods, which effectively obsoletes the equivalent coding for String, like "& vbCrLf", etc.
Double buffering
A very simple functionality, but like I said, I didn't know better. So my Windows forms are now flicker-free.
AJAX
Now this is new. I am yet to implement this, because Web forms are a transition for me, at least I know that there is a technology that is available to my use - for a better experience of my users, performance-wise!
Silverlight
Adding to AJAX, Silverlight is another trick up my sleeve. Well, this is on the graphics side of webpages, so that they are more pleasing and more attractive.
And these are some of the big things that I have 'learned' in my week-long course, so hopefully, I now will be a better software developer.
Till then.
No comments:
Post a Comment