WebMatrix makes development with ASP .NET much easier for beginners. Like PHP it allows for code snippets to be included within an html page. Learn more about this new tool from Microsoft.
Facebook Uses HipHop To Transform PHP to C++
On the Facebook Developers site, Haiping Zhao writes about how Facebook uses HipHop to transform PHP code to C++ and compiles them using g++. In his article titled, HipHop for PHP: Move Fast, he mentions:
HipHop for PHP isn’t technically a compiler itself. Rather it is a source code transformer. HipHop programmatically transforms your PHP source code into highly optimized C++ and then uses g++ to compile it. HipHop executes the source code in a semantically equivalent manner and sacrifices some rarely used features — such as eval() — in exchange for improved performance. HipHop includes a code transformer, a reimplementation of PHP’s runtime system, and a rewrite of many common PHP Extensions to take advantage of these performance optimizations.
In his article he describes how this tool helps to allow Facebook to scale to millions of users. He also mentions that HipHop has been released using the open source PHP license.
How To View Column Names For A Table In T-SQL
SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = '<TABLE NAME>' ORDER BY ORDINAL_POSITION
Display line numbers in Visual C# 2008 Express
To display line numbers in code
- On the Tools menu selecti, Options.
- In the Text Editor folder, choose the General options in the All Languages subfolder to set this option globally
- Under Display, select Line numbers.
If you do not see the All Languages subfolder or the Display section, make sure that the Show all settings checkbox at the bottom of the window is checked.
Creately: Online Diagramming & Design
Flowcharts, wireframes, UML and more – in your browser.
http://creately.com/
Creately is another useful online diagramming and wireframing tool.
Mockingbird Wireframe Service
Mockingbird is an online tool that makes it easy for you to create, link together, preview, and share mockups of your website or application.
Check out this simple sample wireframe.
Generating INSERT statements from a table in SQL Server
This post provides a useful stored procedure for creating INSERT statement for data in a table.
When Validating Positive Numbers Use Only A RangeValidator
When requiring the user to enter only positive numbers (integer, double, currency) within a specified limit, you do not need to have both a RegularExpressionValidator to check for positive values and a RangeValidator to provide a limit. You can just use the RangeValidator and just set the Minimum property to 0. (Visual Web Developer Express 2008 and .NET 3.5)
Read-Only Properties Cannot Be Exposed by XML Web Services
I recently encountered this problem when I was trying to return a simple object with several public properties. It seems one of the properties was not being exposed in the XML returned by the web service. I wondered what could be the difference when I stumbled upon this thread:
C# get property not visible in Web Services General
which led to this KB article:
Read-Only Properties Cannot Be Exposed by XML Web Services
It seems this is by design. The workaround would be to create an empty setter for it.
Web Marketing To Do List
- Get a domain
- Get a hosting provider
- Download and install WordPress
- Include keywords in your blog title
- Make WordPress links SEO friendly
- Add SEO plugins and ad managers
- Enable RSS Feeds
- Build an email mailing list
- coming soon
