I faced a number of error for parsing a string into int. In most of cases, there is a validation missing.
You can use regex inside IsNumber or use foreach loop to check whether each character is numberic.
BUT NEVER NEVER DO LIKE THIS:
Try-catch is an expensive operation!!!!!!!!
Secondly, I like to use TryParse even in the case, the progam can tolrate invalid value. TryParse can allow the logic to continue execution. I hate some things like stack track on the screen.
I think Server Side and Client Side, both have advantages and disadvantages.
- More efficiency
- Easy to scale up(if the process is too complex, we can use load balancing)
- Hard to deploy, to some complex operations, it may be required CLI store procs.
- More expertises required
- Easy to be implement, You need to know C#
- Easy to deploy
- Easy to be manage
- Less efficiency
I think, in generally, for complex operations, we can try to put that into the server side. For simple operations, just putting them into the client side logic. That is simple.
I love JoomGallery. It has Juploader, so I can upload multi-files.
I love it!!!!
Nowadays, the most of webmail providers, such as Yahoo, Google and MS, provided a huge storage or even unlimited. Therefore, you will have a lot of email. Now, I got 11915 in my inbox at Yahoo and I have around a hundred new incoming email per day. This morning, I need to find an email which have some information I need but I got that email at the early of this year, maybe Jan or Feb(I can't remember). Well, email search is my life saver. I remember some keywords in email and I know the email received this year. I entered the keyword and limited this year. I can't find the exact emai. But I found an email with similar information. They are a kind of related. It should be received similar period of time. Then I got my inbox, went to the page has the email I found and I scrolled a page. Then I found the email I need. So, email with a search function, that is a "must have" function!
Wordpress 2.7 Beta 3 is released.