Check out the answer on this following post for how to get Intellisense in VS2010 for MSAJAX CLIENT-SIDE AJAX Library… http://goo.gl/i7OQ4
-
Recent Posts
Meta
Check out the answer on this following post for how to get Intellisense in VS2010 for MSAJAX CLIENT-SIDE AJAX Library… http://goo.gl/i7OQ4
When you inherit code, you have to stare and glare over it for a good while before you can start understanding it…at first it is a foreign land, but as time passes, you will begin to “see” the countours and reliefs of the land
After you decide to download source off the internet, like zip files or after Microsoft MSI installs, DON’T FORGET TO DO GIT BASH/GUI HERE BECAUSE, inevitiably you will start changing the code, AND, if you mess up, which of course you will, you can use Git to go back ‘in time’ if you will and recover the file to whatever point you want…not to mention…you wil get great practice…LEARNING GIT, so, DON’T FORGET GIT
Ahhhhhh, finally, some uniformity in JavaScript…..events…..nice….i like it http://channel9.msdn.com/events/MIX/MIX11/HTM07
SqlMetal.exe, a LINQ TO SQL dbml file generator is located here…drive:\Program Files\Microsoft SDKs\Windows\vn.nn\bin. Read more here …
Before moving on to the next test, I need to refactor and tidy up the interactions between CommandParser
and saleEventListener
. I want to specify interactions between an object and its collaborators in terms of the application domain. The ItemEntered
message takes into two arguments a string representing a barcode
and an integer representing quantity
. What do these two arguments really represent in the domain of the application?
Rule of thumb: If you are passing around primitive data types among object collaborators, it may be an indication you are not communicating at the right level of abstraction. You need to see whether the primitive data types represent concepts in your domain that you may have missed.
In this case, the barcode
is decomposed into manufactureCode
and itemCode
, which represents an item identifier. I can introduce the concept of an item identifier in the code. This should be an immutable type that can be constructed from a barcode
, and I can give the ItemIdentifier
the responsibility of decomposing the barcode
into a manufacturer code and an item code. Similarly, quantity
should be a value object as it represents a measurement—for example, the quantity of an item could be measured by weight.
For now, I don’t have a need yet to decompose the barcode or handle different types of measurements for quantity. I will simply introduce these value objects to ensure that communication between objects remains in domain terms. I refactor the code to include the concept of item identifier
and quantity
in the test. Click here to read Isaiah’s article…msdn article
Just want everyone to know I am learning GIT slowly
Hitting up alot of CSS work, upgrading Coldfusion cfm files with external style sheets. Really getting into html forms and CSS.
I am sharing this T-SQL Forum link to a thread on a clean way to combine TRY CATCH WITH TRAN, ROLLBACK AND COMMIT : T-SQL FORUM POST-CLICK HERE
USE testdb
BEGIN TRAN
BEGIN TRY
INSERT INTO dbo.T1
( keycol, col1, col2 )
VALUES ( 6, 106, 'C6' ) ;
INSERT INTO dbo.T2
( keycol, col1, col2 )
VALUES ( 7, 201, 'X7' ) ;
IF @@TRANCOUNT > 0
COMMIT TRAN
END TRY
BEGIN CATCH
SELECT
ERROR_NUMBER() AS ErrorNumber
,ERROR_SEVERITY() AS ErrorSeverity
,ERROR_STATE() AS ErrorState
,ERROR_PROCEDURE() AS ErrorProcedure
,ERROR_LINE() AS ErrorLine
,ERROR_MESSAGE() AS ErrorMessage;
IF @@TRANCOUNT > 0
ROLLBACK TRANSACTION;
END CATCH
SELECT * FROM dbo.T1 AS t
SELECT * FROM dbo.T2 AS t