Main Page
From Creative Crew Wiki
Welcome to Creative Crew Wiki
A information repository facility. To create and edit pages, you will need to register or login by clicking on the "Log in / create account" link on the top right corner. Learn how to use our wiki by playing in our sandbox.
Life
Security is mostly a superstition. It does not exist in nature... Avoiding danger is no safer in the long run than outright exposure. Life is either a daring adventure or nothing. - Helen Adams Keller
Projects
- Active
- (Objective C) Apple iPhone Sandbox
-
svn checkout http://creativecrew.googlecode.com/svn/smartphone_iphone/trunk/SandboxIphone/
-
- (PHP) Domain Generator
-
svn checkout http://creativecrew.googlecode.com/svn/web_php/trunk/domaingenerator/
-
- (Objective C) Apple iPhone Sandbox
- Semi-active
- (C++) Discover
-
svn checkout http://creativecrew.googlecode.com/svn/desktop/trunk/discover/
-
- (C++) Discover
- Inactive
- (Java) Google Android Sandbox
-
svn checkout http://creativecrew.googlecode.com/svn/smartphone_android/trunk/SandboxAndroid/
-
- (Java) Google Android Sandbox
Microsoft Visual Studio: Convert to Console Application Project
Instructions:
- Solution Explorer > Properties (right click on project) > Configuration Properties > Linker > System > SubSystem > Console (from drop-down list)
- Configuration Properties > C/C++ > Preprocessor > Preprocessor Definitions > _CONSOLE (replace entry "_WINDOWS")
- If "error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup" then
- In "main.cpp" or "main.c", replace entry point from "WinMain()" to "main()".
References:
- http://hdrlab.org.nz/changing-a-windows-app-to-a-console-app-in-visual-studio/
- http://en.wikibooks.org/wiki/C%2B%2B_Programming/Compiler/Preprocessor
Python for Microsoft Windows
- Download and install Python (.msi installer): http://www.python.org/download/
- Goto Control Panel > System > Advanced > Environment Variables > System variables > Path > Edit > Variable value > Append
;C:\Python26;C:\Python26\Scripts(for Python, setuptools) - Download setuptools: http://peak.telecommunity.com/dist/ez_setup.py
- Command Prompt:
> python ez_setup.py - Python is ready to use.
Python for Linux
- Download Python (gzip-compressed source code): http://www.python.org/download/
- Extract and upload using FTP, then use Shell (Terminal) to goto new directory.
- Install Python using Shell (Terminal):
$ ./configure --prefix=$HOME/opt/python261 && make && make install - Edit file:
.base_profileand add lineexport PATH=$HOME/opt/python261/bin:$PATH - Reload file using Shell (Terminal):
$ source .bash_profile - Download using Shell (Terminal):
$ wget http://peak.telecommunity.com/dist/ez_setup.py - Install setuptools using Shell (Terminal):
$ python ez_setup.py - Python is ready to use.
UCF Engineering Technology Center
Through trial-and-error and experience in handling different needs, a general-purpose structure was organized and standardized.
Microsoft ASPNET MVC: Paradigm
A Model-View-Controller framework added by Microsoft ASPNET.
Microsoft ASPNET Web Forms: Paradigm
Microsoft ASPNET Web Forms approach was to mimic Microsoft Windows programming as much as possible. Many developers used to working with Microsoft Windows Forms moved to ASPNET web development without knowing the basics of HTTP and web. Web Forms introduced event-driven approach and also introduced Viewstate and Postback, but the end result is that Web Forms breaks the stateless nature of the web and increased complexity in developing web applications. Many web pages having hundreds of kilobytes (KB) size of Viewstate (if not, manually turned off) that affected the overall performance of the application. Developers do not have control of the rendering markup code of Web Forms and server controls that render HTML with mixed inline style and deprecated tags that does not follows web standards. The page life cycle of Web Forms made it to complex than it should be when interconnecting page events.
Microsoft ASPNET Web Forms: Organizational Structure
Comparing to MVC (Model View Controller) principles of developing web applications, Microsoft ASPNET Web Forms does not have any conventions, consistencies, and overall organizational structure. Thus, Microsoft ASPNET Web Forms allow inexperienced developers to design improperly, but only enough to satisfy unaware stakeholders. For example, selling sport cars with underperforming engines held together with scotch tape. In the end, they will find out their project is unmaintainable (aka spaghetti code) and unfriendly to work with from joining developers.
File Types for User Interface:
".css"
- Cascading Style Sheet (CSS) external file.
".js"
- JavaScript (JS) external file.
".master"
- Asp.Net MasterPage external file.
File Structure for User Interface:
- \css
- \base
- form.css
- ie.css
- main.js
- print.css
- screen.css
- template-style.css
- template.css
- foundation.css
- \base
- \images
- \js
- \templates
- \base
- TemplateBase.master
- \base
"\css\foundation.css"
- Foundation of all web documents. The sole purpose is to strip away some of the default browser styles applied to common elements. By resetting all headings to the same size, for example, the style sheet avoids the inconsistencies of heading sizes across browsers and brings everything to a common baseline.
"\css\base\form.css"
- Form layouts and elements, Microsoft ASPNET controls.
"\css\base\ie.css"
- Special styling hacks for all Microsoft Internet Explorer browsers because it is not fully compliant to web standards and it conforms to be proprietary.
"\css\base\main.js"
- A global JavaScript file for the template and it is inherited to the content. Using JavaScript helps enrich the web application and the user experince. It is the last JavaScript file to be called in the "head" element of the template, enabling previous JavaScript files to be overridden.
"\css\base\print.css"
- For printing from the browser when the media is recognized as print, it is the first file to be called in the "head" element of the template. When called, it is the main ".css" file before propagating to other ".css" files.
"\css\base\screen.css"
- For default screens when the media is recognized as a desktop, a laptop, or a projector. It is the first file to be called in the "head" element of the template. When called, it is the main ".css" file before propagating to other ".css" files.
Microsoft Visual Studio: Practical Guidelines and Best Practices
The markup code can be auto formatted incorrectly making it visually unpredictable for humans to glance through quickly. Please make sure every copy of Microsoft Visual Studio are properly setup to follow practical guidelines and best practices:
- Tools > Options > Text Editor > HTML
- General > Uncheck "Word Wrap"
- Format > Capitalization
- Server Tag: Lowercase
- Server attributes: Lowercase
- Format > Automatic formatting options
- Uncheck "Auto insert close tag"
- Uncheck "Wrap tags when exceeding ** specified length"
- Miscellaneous > Uncheck all
- Validation > XHTML 1.0 Transitional, Check "Show errors"
- Tools > Options > Text Editor > CSS > Format
- Style: Radio "Semi-expanded"
- Capitalization: Lowercase
- Tools > Options > HTML Designer > General > Radio "Source View"
Wiki Statistics
- Number of articles: 2
- Number of edits: 153
