분류 전체보기
-
디자인SE 2013. 6. 18. 19:49
The persistence layerDAO business objectthe object-oriented representation of the problem domainshould never depend on any other layerfiner-grained business logicdata transfer objects(DTOs)domain classesthe classes are identified by deriving them from the nouns in the system The business logic layerservice classes coarse-grained business functionsto demarcate transactions The presentation layerr..
-
MASMGUI/Window 2013. 6. 17. 20:47
TITLE Windows Application (WinApp.asm) .386 .MODEL flat,stdcall INCLUDE SmallWin.inc ; kernel32.lib INCLUDE GraphWin.inc ; user32.lib .STACK 4096 ;==================== DATA ======================= .data PopupTitle BYTE "Popup Window",0 PopupText BYTE "This window was activated by a " BYTE "WM_LBUTTONDOWN message",0 ErrorTitle BYTE "Error",0 WindowName BYTE "ASM Windows App",0 className BYTE "ASM..
-
MultiUser.nsh - NSIS개발/배포 2013. 6. 17. 09:22
MULTIUSER_INSTALLMODE_COMMANDLINE settingenables the installation mode to be set using the /AllUsers or /CurrentUser command line parametersespecially useful for silent setup!define APP_NAME "Modern UI Test";!define INSTALL_PATH "Software\${APP_NAME}"!define UNINSTALL_PATH "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_NAME}" !define MULTIUSER_EXECUTIONLEVEL Highest;!define MULTIUSER..
-
MASM스트림 IO/기타 2013. 6. 15. 00:48
TITLE Read From the Console (ReadConsole.asm) .386.MODEL flat,stdcallINCLUDE SmallWin.inc.STACK 4096 .dataBufSize = 80buffer BYTE BufSize DUP(?)stdInHandle HANDLE ?bytesRead DWORD ? .codemain PROCINVOKE GetStdHandle, STD_INPUT_HANDLEmovstdInHandle,eax INVOKE ReadConsole, stdInHandle, ADDR buffer, BufSize, ADDR bytesRead, 0 INVOKE ExitProcess,0main ENDPEND main
-
기타Platform/DB 2013. 6. 13. 01:59
Dynamic SQL # 문자열the standard database persistence framework JDBC # JavaADO.NET # .NET Object/relational mappingto simplify persistence of objects by eliminating SQL from the developer’s responsibility altogether. Instead, the SQL is generated. iBATISpersistence layer frameworkthe SQL is relatively independent of any particular language or platformdeals with relational databases of all kinds and..
-
2진 검색(binary search) - MASM알고리즘 2013. 6. 5. 19:32
TITLE Binary Search Procedure (Bsearch.asm) ; INVOKE BinarySearch, ADDR array, ARRAY_SIZE, eax .386.MODEL flat,stdcall.STACK 4096 .codeBinarySearch PROC USES ebx edx esi edi,pArray:PTR DWORD,; pointer to arrayCount:DWORD,; array sizesearchVal:DWORD; search value LOCAL first:DWORD,; first positionlast:DWORD,; last positionmid:DWORD; midpoint movfirst,0; first = 0moveax,Count; last = (count - 1)de..