February 2003 - Posts
Here's some info about the .net code module.
Chapter 12: The Code Model
The idea is simple—define a single API that captures the essence of the most common programming constructs, and have each of the languages in Visual Studio .NET implement that API in its native tongue. The result is a single set of objects—the code model—that a programmer can use to read or write code in any of the languages in Visual Studio .NET.
Strange Error. Happened with Literal too. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: The base class includes the field 'ConstructIDLabel', but its type (System.Web.UI.WebControls.Label) is not compatible with the type of control (System.Web.UI.WebControls.TextBox). Source Error:
Line 14: <table>
Line 15: <tr>
Line 16: <td><asp:TextBox id="ConstructIDLabel" runat="server"></asp:TextBox></td>
Line 17: <td><asp:TextBox id="ConstructIDTextBox" runat="server" Text='<%# DataBinder.Eval(DataView1, "[0].ConstructID") %>'></asp:TextBox></td>
Line 18: </tr>
|
Proc-Blaster Code Generator
The key feature of Proc-Blaster is Template based code generation that allow users to configure custom code patterns automated with the scripting language of your choice, VBScript or JScript.
Marketing info looks good. Lots of SQL support too.
EntityBroker
The EntityBroker is a framework for automatically mapping your business
objects into database tables. Reading and writing the data contained in the
objects is done automatically - as a developer, you just add some lines of
attributes to the code of your business object, and you get transparent
persistence. The Framework is not only handling simple object persistence, but
also handling relations, data binding and complex queries.
If you are more
interested in this technology, have a look at our brief product
description.
I am building an app to help me journal my time. It is similar to a blog (eventually may feed a blog). After creating JournalEntry and JournalEntryCollecition. I wanted to persist the collection.
My initial testing thoughts were:
- Serialization is simplest way.
- How to test serialize works?
- Make sure file isn't there.
- Add Entry (should serialize automatically)
- Test for file existence.
This lead to:
- How do I know file name? Don't know
- Should I send it in? or should object publish it?
- Let's base it on a guid (.xml).
- Added guid to JournalEntry.
- Duh. We are serializing the collection into a file, not individual items to each file.
- Add guid to Collection? Wait, let's think again.
- Eureka. Forget all this complicated crap.
Final test:
- Create Collection, add item, kill collection. Create new collection, hydrate, test item.
There was no need to test internals. For now, I assume the collection always has all the entries.
Only issue: I am actually testing the save and load at the same time. Hmm.
Update XML Schema from
DataBase
Author: Tim Heap
Need to update a schema file from a
sql server 2000 db ? Don't want the hassle of using the XML objects and
appending elements or atttributes ? Use my cunning program, with a few changes
and re-generate your schema file every time your database changes (you can fire
it using a trigger, or call it from a vb program when you click on
cmd_submit...
Visit my guru profile
From Tony Hoare's Turing Award lecture
"I have regarded it as the highest goal of programming language design to enable good ideas to be elegantly expressed."
"There are two ways to design systems: make them simple enough to be obviously right, or make them complex enough not to be obviously wrong."
When? 1980.
eXtensible C# (XC#) is
a complement to C# and Visual Studio. With XC#, you can specify ,analyze ,verify and protect your C# source
code.
Specify your code with declarative assertions
Is there a tool like this for .NET?
JDepend
traverses Java class and source file directories and generates design
quality metrics for each Java package. JDepend allows you to automatically
measure the quality of a design in terms of its extensibility, reusability, and
maintainability to effectively manage and control package dependencies.
A few reasons to use (more on website):
Foster Parallel, Extreme Programming
Packages that are stable should be the centerpieces of a loosely coupled
application so the speed of the development team is not adversely affected by
the propagation of software changes. Stable packages form design-by-contract
facades to other subsystems, allowing teams to develop in parallel at an extreme
pace. Moreover, by measuring the software design quality, the overall impact of
proposed software changes can be accurately estimated. JDepend allows teams to
identify and use desirable dependencies in the system and avoid those
dependencies that cause changes to ripple throughout the system.
Isolate Third-Party Package Dependencies
This appendix
contains translations of the English word list that appears on
the following pages. The intent of this list is to provide, for each of the
following languages, a comprehensive set of words and phrases that either appear
in the Microsoft Windows user interface or are used in describing key concepts
of the operating system to users.
More Posts