Difference between revisions of "Software Engineering"
Line 1: | Line 1: | ||
+ | == Principles == | ||
+ | |||
+ | === Modelling === | ||
+ | |||
+ | Each software system has an ''application domain'', and it ''models'' the entities that form the [[system]] which constitutes the application domain. | ||
+ | |||
+ | == Practices == | ||
+ | |||
+ | * Keep a record of the development process | ||
+ | ** Use something like cvs, subversion, git or whatever. | ||
+ | * Establish a defined and automated build process | ||
+ | ** Use a tool such as make or ant. | ||
+ | ** Distinguish between original and dependent files. | ||
+ | ** Do not archive dependent files. | ||
+ | |||
== Building Software == | == Building Software == | ||
Revision as of 18:10, 24 January 2010
Contents
Principles
Modelling
Each software system has an application domain, and it models the entities that form the system which constitutes the application domain.
Practices
- Keep a record of the development process
- Use something like cvs, subversion, git or whatever.
- Establish a defined and automated build process
- Use a tool such as make or ant.
- Distinguish between original and dependent files.
- Do not archive dependent files.
Building Software
- GNU autoconf, automake, and libtool, by Gary V. Vaughan, Ben Elliston, Tom Tromey and Ian Lance Taylor
Software Architecture
- SoftwareArchitekTOUR podcast, (German)
- cyclomatic complexity, a software metric
Web Technologies
- EJB
- Struts
- JavaScript (aka ECMAScript)
- Web Sockets API
Other Technologies and Concepts
- JavaSpaces
- Hadoop Map / Reduce
- Business Process Execution Language (BPEL) - "orchestration" of business processes
- Representational State Transfer (REST)
- OSGI
Authentication
- Acegi is an authentication framework based on Spring. Acegi Security in one hour seems like a good introduction.
Notes
Agility really is a consequence of adequate modelling. For a system that provides behaviour without internally modelling the problem domain (aka Universe of Discourse etc.), accommodating a change of requirements will likely result in large scale changes in design and implementation. In contrast, if the system is based on a detailed and highly adequate model, the extent of changes in design and implementation caused by a requirements change will correspond closely to the extent of the requirement change itself. Thus, small changes in requirements can be accommodated in an agile manner.
Somewhat metaphorically, a system that provides required behaviour without adequate internal modelling is "brittle" like a hash: If one bit in the requirements (the input) changes, all bits in the system (the hash) are subject to change.
Reusability really reflects the adequacy of a model independently of the purpose (i.e. independently of the current set of requirements).
The real use of prototoypes is that the software developers get to engage with the problem domain in a symbolic manner. It is an added benefit that prototypes provide opportunity for clients (or other non-developer stakeholders) to get to see the developing system, but (contrary to a somewhat popular view), this is not the main benefit.
Rewriting from scratch may be a bad idea, some say it's a thing you should never do or consider it harmful