10 Dec 2013
I recently came across a situation where I needed to generate page Slugs from some 5,000,000+ records in a MS-SQL database. Unfortunately I didn’t have Remote Desktop or Telnet access to the SQL box which precluded me from running one of my normal C# or Powershell solutions, and the idea of doing all of the processing over the wire just didn’t appeal to me. So I decided the best course of action would be to use T-SQL to generate the Slugs for me.
After posting the question to StackOverflow and doing some searching on Google I came across Pinal Dave’s UDF_ParseAlphaChars function. Luckily it had most of the functionality I required, so it only required minor modifications to get the desired result.
The modified code is below.
CREATE FUNCTION [dbo].[UDF_GenerateSlug]
DECLARE @IncCharLoc SMALLINT
SET @str = LOWER(@str)
SET @IncCharLoc = PATINDEX('%[^0-9a-z] %',@str)
WHILE @IncCharLoc > 0
SET @str = STUFF(@str,@IncCharLoc,1,'')
SET @IncCharLoc = PATINDEX('%[^0-9a-z] %',@str)
SET @str = REPLACE(@str,' ','-')
First of all I need to leave spaces so they can be replaced with hyphens, and secondly I only require lower case characters. You may also notice that I'm doing a case transformation against the incoming string. This is due to the SQL database being setup with case insensitivity.
I would like to thank Pinal Dave for his original code.
05 May 2011
Works by Parnas and Shaw set the stage for the development of architectural design patterns that enabled later computer scientists to develop both architectural and module level design patterns. This has empowered architects and developers with the ability to build highly cohesive, loosely coupled large-scale systems.
The development of codified software design patterns over the last 30 years has been of significance to the software industry. With each new design pattern a new level of abstraction has been developed to simplify or iron out complexity in the systems in where those patterns have been implemented.
However in order to understand the overall architecture of a system we first need to be able to decompose the system into subsystems or modules, with each subsystem or module adhering to a design pattern in order to maintain some sort of maintainability and testability.
In his 1972 paper, “On the Criteria To Be Used in Decomposing Systems into Modules”, Parans discusses the decomposition of software into modules, producing two separate modularisations.
The first is along the lines of functional/procedural responsibility or steps, referred to as the “flowchart” method . The second is along the lines of “Information Hiding”.
Parans says of the second modularisation: “Every module in the second decomposition is characterized by its knowledge of a design decision which it hides from all others. Its interface or definition was chosen to reveal as little as possible about its inner workings.” 
These two sentences are of great interest, as this was the first time the idea of Information Hiding was introduced to the world of Software Architecture and Design.
This idea, sometimes referred to as the Black Box Principal, is of paramount importance to software design, as it is the founding basis for a number of Object Oriented design principals including Encapsulation and the practice of designing to Interfaces rather than concrete classes.
The Black Box Principal allows for a module or class to built in such a way that only its input and output are known, while hiding its internal workings, implementation, or design decisions from consuming applications, modules or classes.
This allows for the design and creation of loosely coupled software systems, which in turn increase testability and reduce the chance of failure due to cascading errors in the event of changes to the module or classes internal design or implementation.
This principal, is in fact an abstraction of the inner workings given module or class in order to implement it’s output in a larger system.
In her 1989 paper “Larger Scale Systems Require Higher-Level Abstractions” Shaw makes the argument for the need of codified high-level design patterns that can be used to make abstracted design decisions at the system and subsystem levels, in order to better understand and produce large-scale systems .
In section “3. Composition of Systems from Subsystems”, Shaw makes the observation that large systems are constructed by combining subsystems, and that these subsystems have their own internal structures, which could be designed at the system level, rather than the module or class level .
This allows for the implementation of higher-level design patterns for specific subsystems that are best suited to their function or responsibilities
However Shaw makes the conclusion that the at the time of publication (1989) Software Architecture was not yet mature enough to develop or support such high-level patterns .
As we can see, both Parans and Shaw’s work address software design from a structural, decomposition standpoint, while this may have been the founding for a lot of today’s current structural architecture level design patterns, it fails to take into account the other areas software design that are important in todays object oriented world, specifically those of object creation, structure and behaviour in complex software systems.
Neither of the papers takes into account the inherent complexity of trying to integrate multiple modules to form complex systems, while maintaining portability, testability and high maintainability.
Thankfully, some of these issues have been addressed through the creation of modern architectural and module / class level design patterns.
3. Critical Analysis
Shaw’s paper is a spiritual continuation of Parnas’s earlier “Information Hiding” (Black Box) work, in that Shaw is in fact advocating for the abstraction of lower level modules functions behind a subsystem design pattern, effectively extending the Black Box Principal beyond that of a single module or class to an entire subsystem. This continuation is evident in section 2 of Shaw’s paper where the Software Architecture Level of Design is discussed. Shaw states: “This level of system organization and design is the software architecture level.” . Parnas, in his work, did not mention, or perhaps failed to anticipate that large-scale systems may require a number of levels of abstraction in order to effectively produce the system. Shaw’s work rectifies this by explicitly advocating the need for architecture level design.
Architecture level design, is of course a major factor that must be considered when developing systems for modern systems, the choice of architecture level design patterns is of paramount importance when developing large scale systems, as the choice of the wrong design pattern could have catastrophic consequences, for example the Model View Controller pattern, developed at XEROX PRACE in 1978-79  may provide the foundation for a Graphical User Interface (GUI) based system such as a Word Processor, but would be ill suited to a Telephone Exchange System or a Control and Command System.
While Shaw addressed the higher-level concepts of System and subsystem architecture, she failed to address the issues related to lower level modules and classes, thankfully a large number of these issues have been addressed through the acceptance of the patterns and practices published throughout the early 90’s and early 2000’s. Books such as Code Complete  and the Design Patterns: Elements of Reusable Object-Oriented Software”  introduced a large number of developers and architects to reusable design patterns that allow for the creation and maintenance and testability of modules or classes in a decoupled, highly cohesive manner.
For example, Robert C. Martin in his book “Agile Software Development: Principals, Patterns and Practices”  introduces a set of principals known as SOLID. SOLID is an acronym for Single Responsibility, Open-Closed, Liskov Substitution, Interface Segregation and Dependency Inversion. These principals extend on Parnas’s information hiding principals, and Shaw's module abstraction to address the issues related to testability and maintainability in complex systems. For example, the Dependency Inversion principal states that high level modules or classes should not depend on low level modules or classes. This principal is implemented via the Dependency Injection pattern, which extremely similar to the Factory Method . Dependency Injection allows for decoupling of modules, which in turn makes it easier to unit test modules.
Well-tested, decoupled modules often have higher levels of cohesion, allowing those modules to be more portable, readable and maintainable in the long term.
There is however still a number of open issues from a software architecture standpoint, as the underlying hardware increases in capacity and complexity the need to continually abstract the inner workings to increase design simplicity of each system is a cause for ambiguity, and misunderstanding. Shaw did mention this in her paper, however, it may well result in a time where those making the design decisions no longer understand the underlying rationale for the design pattern that they have chosen to implement. At a lower level this is evident in the uptake of memory managed programming environments, e.g. Java. It could be argued that Java developers are more ignorant of their memory footprint, compared to C developers. There is a real chance that this could happen at a higher level of design as we continually develop new ways to abstract away from the inner workings of our systems.
Parans work created the foundations for a large number of design patterns still implemented in today’s moderns software systems. Shaw extended Parans work in a way that allowed for the abstraction of design decisions to higher levels of a software system. This work has since been extended upon by a number of different people, allowing for reusable software design patterns that give us the ability to build highly cohesive, decoupled systems that are easily tested.
However we may face a time in the future where the continued abstraction of the design decisions leads to an ignorance of the base implementation of a system.
 David L. Parnas. “On the Criteria to be Used on Decomposing Systems into Modules,” Communications of the ACM, 15(12):1053-1058, 1972.
 Mary Shaw. “Larger Scale Systems Require Higher-Level Abstractions,” Proceedings of the Fifth International Workshop on Software Specifications and Design, published 1989
 Trygve Reenskaug. “MVC XEROX PARC 1978-79″, http://heim.ifi.uio.no/~trygver/themes/mvc/mvc-index.html
 Steve McConnell. “Code Complete” Microsoft Press. 1994
 E. Gamma, R. Helm, R. Johnson & J. Vlissides. “Design Patterns: Elements of Reusable Object-Oriented Software”, 1994
 Robert C. Martin. “Agile Software Development: Principles, Patterns, and Practices “ 2002
23 Aug 2010
In his article, "10 ways to avoid mistakes during project development", Alan Norton describes 10 items or methods that can be used to avoid critical mistakes during the project planning and management processes (Norton, 2010). Each of these 10 items or methods can be addressed through the application of the 42 project management activities, grouped within the nine Knowledge Areas, as described in the Project Management Body of Knowledge, otherwise known as the "PMBOK".
Learn from other’s mistakes.
Mistakes are often the result of poor project planning and/or process execution, something which can easily be prevented during project the planning stages (Project Scope Management and Project Risk Management) and if need be remedied during both the execution stages and monitoring stages (Project Quality Management) of a project.
During the planning stages a clear set of goals or defined requirements greatly aids in the Project Managers ability to properly assess the risks associated with the project. The Collect Requirements and Define Scope processes associated with the Project Scope knowledge area are fundamental to this action. Having a clearly defined set of goals allows for the Project Manager to perform in depth Qualitative and Quantitative Risk Analysis, along with the development of a Risk Response plan, all of which are associated with the Project Risk
Management knowledge area.
In the event of an issue or mistake, the Quality Assurance and Quality Control Procedures associated with the Project Quality Management knowledge area, could be used to rectify the issue, and to make sure the project meets the required project goals.
Do your research first.
As Norton states, "there is little excuse for mistakes made because you didn’t do the proper research in advance" (Norton, 2010). Proper research should be performed during the planning phrase of a project. As such there are a number of processes available to a project manager to make sure that he or she has the correct information at his or her disposal, specifically, collection of project requirements, definition of project scope and the creation of a Work Breakdown Structure or WBS. All of which are part of the Scope Management knowledge area.
The Work Breakdown Structure is perhaps the most important deliverable at this stage, as it not only defines the scope of the project, but it also gives the project manager an overview of all required work within a project. This in turn allows for the proper execution of each unit of work required for successful completion of the project.
Have a plan.
This is perhaps, the single most important item on Norton’s list, and is best served by developing a project management plan, associated with the Project Integration Management knowledge area.
A Project Management Plan is a deliverable item, used to coordinate all planning activities and execution of the project. Development of a Project Plan requires knowledge of all aspects of a given project. As such the project manager should consult with members of the project team as well as the applicable stakeholders. The Project Plan, while unique should include information relating to project objectives or goals, project organisation, timeline and of course budget.
Follow standards and use templates.
The use of templates offers a number of benefits, not only cost and time savings, but there are also quality benefits. Templates and other forms of standard items are often purchased, or acquired from an outside source. Be that a different department or team within an organisation or an external organisation altogether. In this case, a purchasing or acquisition decision would need to be made. This procedure is known as Planning Procurements, and falls under the Project Procurement Knowledge area.
In order for effective procurement, the project manager should develop a Procurement Management Plan. This plan should detail how the procurement process will be managed and maintained for the duration of the project.
Communicate and coordinate with others.
Communication is quite possibly the most important part of every project (Schwalbe, 2010). Regular communication between team members along with stakeholders is a crucial component of success. As such there are a number of processes dedicated to the effective management of communication, all of which are associated with the Project Communications Management knowledge area. As such is it important that each of the processes association with this knowledge area are completed in full and to the best ability of the project manager and associated team members.
As such an effective Communications Management Plan document, produced from an efficient use of the Plan Communications process helps to mitigate any potential issues. Another factor that may come into play is the choice of communication medium. For instance email may be fine for internal team communications, but hard copy (printed documents) may be better for stakeholder progress reports.
Allow enough time.
It is no secret that IT Projects have historically run over schedule and over budget, making Project Time Management an extremely important knowledge area. In order to allow enough time for a project to be completed, an effective Project Schedule must be developed.
However a Project Schedule cannot be developed without defining the actives that need to be complete along with estimating how long each of those activates will take to complete. Both of which rely on effective communication between the project manager, stakeholders and team members, along with an established WBS. The WBS acts as a de facto activity list, which is in turn broken up into more defined activities. Once the activities list has been defined it can be sequenced to find interrelated or dependent activities, in order to help prioritise the activity work list, and estimate the required resources for each activity.
Once completed, consultations with the team members responsible for a particular activity should be conducted in order to properly estimate the required duration of each activity.
Reuse proven code.
Reusing proven technologies is great way to save time and to maintain quality of a project. In order to make use of existing technologies it is important to know if there are technologies that are applicable to your project. As such the Project Scope Management and Project Procurement knowledge areas are fundamental to the assessment of these technologies.
For example without knowing the project requirements it would be impossible to assess if a particular technology is applicable to your project. Or, how do you assess a technology to see if it was applicable without a procurement planning detailing the selection criteria for external acquisitions.
Checklists are most commonly associated with the Project Quality Management knowledge area, as they are commonly used during the Quality Assurance and Quality Control processes of a project. Checklists offer a simple way to establish whether or not a project has met the criteria or goals set out in the Project Plan. They can also be used to provide a simple framework for Stakeholders and team members to sign off on units.
Test, test, test.. and carefully review your work.
Quality Assurance is quickly becoming one of the most talked about aspects of IT Project Management, as again, it is no secret that IT Projects are far from being error free. That mere fact alone makes the Project Quality Management knowledge area of great importance to modern IT Projects. This is especially true of the Quality Assurance process.
The Quality Assurance process enables project managers to quickly gauge the health of an IT projects through the use of benchmarking and quality audits. Benchmarking allows for comparative assessments of current and previous projects, along with providing immediate feedback, allowing for adjustments to be made to the project in order to deliver the necessary level of quality.
Quality audits allow for specific metrics to be applied to a particular activity in order to assess its ability to meet the goals of the overall project.
Test again with a third party.
Again, as pointed out previously IT Project Quality is of great importance due, as such expert user or third party testing is of great importance. Third party testing can be facilitated through the use of the Project Human Resource Management and Project Management knowledge areas.
The Acquire Project Team process from the Project Human Resource knowledge area facilitates the acquisition of third party users or testers, while the Project Quality Control process from the Project Quality Management knowledge area provides the framework needed for those users/testers to perform quality control on the project.
Of the addressed knowledge areas there are four that standout as having the most impact when considering Alan Norton’s "10 ways to avoid mistakes during project development".
They are, in order:
- Project Scope Management
- Project Communications Management
- Project Quality Management
- Project Procurement Management
However, this in no way diminishes the impact of the other knowledge areas as a whole. Each knowledge area addressed plays a critical role during project management process.
Special attention should be paid to the following knowledge areas during each phase of the project as they appear to be reoccurring issues when dealing with IT Projects:
- Project Communications Management
- Project Quality Management
- Project Time Management
Norton, A. (2010). 10 ways to avoid mistakes during project development. Retrieved from http://blogs.techrepublic.com.com/10things/?p=1360
Schwalbe, K (2010). Information Technology Project Management, Sixth edition. Boston, MA: Course Technology
12 May 2010
Woolworths Limited stands to gain a substantial technical advantage over its competitors through the strategic use of public facing information systems.
Table of Contents
- History and Operational Context
- Typical Offline (In store) Customer Behaviour
3.1 Survey Results
- Possible Areas of Improvement
4.1 Awareness of the Current Weekly Specials
4.3 Email Delivery of weekly specials
4.4 Awareness of store layout and product placement locations
- Reference List
Woolworths Limited stands to gain a substantial technical advantage over its competitors through the strategic use of public facing information systems. Implementation of location aware online services for both Personal computer and smart phone have the potential to drastically reduce the amount of time that Woolworths customers spend looking for information and increase the convenience factor of shopping at Woolworths stores.
2. History and Operational Context
Woolworths Limited, founded in Sydney, Australia in September of 1924 is the largest retailing group and second largest private employer in Australia. Woolworths started life as “Wallworths Bazzar Limited”, a take on the F.W. Woolworths (now Foot Locker Inc) name. Woolworths focuses on the Australian and New Zealand retail sectors. Woolworths Limited operates a under a number of brands, including: Woolworths, Safeway, Thomas Dux, ALH Group, BWS, Dan Murphy’s, Langton, Big W, Dick Smith, Tandy, Countdown, Foodtown, Fresh Choice and SuperValue.
Woolworths has a strong market share, currently commanding 30% of the Australian food, liquor and grocery market (InvestSMART: Woolworths Limited (WOW) 2010), with reported 2009 financial year sales in the range of $49.6 billion dollars (Woolworths Limited, 2009, p.3).
Woolworths has a high level of commitment to their staff, the community, and the environment but most importantly Woolworths values their customers. Woolworths stated strategy is to provide customers with greater convenience, quality, lower prices and better value, range, freshness and service, (Woolworths Limited 2009, p.25).
Woolworths offers a range of incentives to help retain customers, including the weekly “Fresh food sales” and the Everyday Rewards Program, which allows shoppers to earn Qantas frequent flyer points & a 4c per litre discount on fuel purchases made via co-branded petrol stations. Woolworths see the Everyday Rewards Program as an integral part of their sales process (Woolworths Limited 2009, p.8).
3. Typical Offline (In store) Customer Behaviour
We surveyed a range of Woolworth’s customers, asking 7 basic questions:
- Do you or a member of your Family/Household shop at Woolworths?
- How many times per week, on average, do you visit a grocery store?
- Before visiting a grocery store do you check the available specials for that week? I.e. Woolworths Weekly Specials or Coles Red Spot Specials?
- Have you ever used the Woolworths Website to check the Weekly Specials?
- Did you know that Woolworths has an online shopping facility?
- How do you feel about the possibility of receiving weekly grocery specials via email?
- Did you know that Woolworths has a smart phone (iPhone, Android etc.) compatible website?
3.1 Survey Results
Of the total number of customers surveyed 80% said that they or a member of their family / household shopped at Woolworths. Of those 80%, 60% visits a grocery store, one to two times per week, 35% visited less than once per week, and 5% visited three to four times per week.
All respondents stated that they did not check the available specials for the week before visiting a grocery store. We have marked this as a possible area for improvement.
All respondents stated that they have not used the Woolworths Website to check for Weekly specials. We have marked this as a possible area for improvement.
Of the total number of customers surveyed, 80% stated that they were aware of Woolworths’ online shopping facilities. 20% responded that they were not aware of the online shopping facilities.
Of the total number of customers surveyed, 16.7% said they were happy to receive emails from Woolworths in relation to its weekly specials, 66.7% said they were okay with the idea and 16.7% stated that they did not want to receive email from Woolworths. We have marked this as a possible area for improvement.
Of the total number of customers surveyed, 90% stated that they did not know Woolworths had a smart phone compatible website. We have marked this as a possible area for improvement.
Observations were also made in regards to purchasing and general movement of customers whilst in store:
It was noticed that most customers were purchasing a small number of goods and using the express checkout or self-service check out options.
Customers were often asking employees for directions or locations of specific items and goods within the store. We have marked this as a possible area for improvement.
Customers regularly made purchasing decisions based on the price per unit indicators. i.e.; Toilet Paper pricing has the unit price along with a price per 100 sheets. This made for easy price comparison between competing brands.
Customer service provided by staff was generally provided in a timely manner and of a high standard.
Informal discussions were also held with the general public in order to gauge the general knowledge of Woolworths Mobile/Smart phone internet offerings. However no quantitative data was recorded from those discussions.
4. Possible Areas of Improvement
As a result of our survey and in-store observations we have identified two key areas that we feel may be improved through the appropriate use of available Information Technologies, and reflect Woolworths strategic goals.
- Awareness of the current weekly specials.
- Awareness of store layout and product placement locations.
4.1 Awareness of the Current Weekly Specials
One of Woolworths’ stated strategic goals is to provide its customers with better value; one way Woolworths does this is to provide weekly specials on various items to its customers, these specials vary from location to location as supply and demand dictates.
Currently Woolworths’ weekly specials are delivered in 2 formats:
Physical print brochures, delivered to residential address in the areas surrounding store locations.
Personal computer (PC) compatible version available online via http://www.woolworths.com.au
Smart phone compatible version available online via http://i.woolworths.com.au
However as our survey results have demonstrated, Woolworths’ customers are not taking advantage of the weekly special information provided in these formats. We believe this is due to the significant barriers presented when trying to find information in relation to the customer’s physical location, along with the lack of electronic mail delivery of the weekly specials to interested customers.
When we consider the smart phone compatible version of the Woolworths website, it requires up to 5 actions on the users behalf before they are able to view the weekly specials relevant to their location (Sequence 1). The PC compatible version requires a similar number of steps, before redirecting to a third party website.
The number of steps required before being able to view the weekly specials could be drastically reduced by making both the smart phone and PC versions of the Woolworths’s website location aware. This can be done via the Geographic Location Application Programming Interface (geolocation API) available as part of the HTML5 standard (W3C 2010). The geolocation API is a client side technology which allows users to make a decision to share their current location with Woolworths’ website server (Figures 1 & 2).
The geolocation API provides the users location as latitude and longitude coordinates, which can then be used to locate the closet Woolworths store location to the user.
Currently iPhone, Android and Palm smart phones support the use of geolocation API’s along with the popular Firefox (Figure 3 & 4), Chrome and Safari PC desktop browsers. Other devices and browsers that do not support geolocation API’s can be gracefully degraded to the current, or a more streamlined version of the current website.
At this stage Woolworths’ major competitors (e.g. Coles) are yet to implement this technology. This presents an opportunity for Woolworths to be the market leader in the use of geographic targeting to deliver relevant information to its customers based on their physical location.
As the geolocation API is a client side technology no additional infrastructure purchases are necessary on Woolworths’ part, however there is an investment requirement to make the appropriate code changes to both website database (backend) and public facing PC and smart phone websites in order to properly support geolocation features.
Once in place, geolocation technology could easily be implemented on within other sections of the Woolworths website. A prime candidate would be the Price Check feature.
There are numerous benefits associated with this technology, they are:
- Increased customer awareness of the weekly specials available to them in their geographic location.
- Increased ability to record the location of Woolworths customers locations when using the Woolworths websites.
4.3 Email Delivery of weekly specials
Woolworths does not currently distribute its weekly specials to its customers via email. In our survey we asked Woolworths’ customers if they were comfortable with receiving weekly emails containing information relating to the weekly specials offered by Woolworths. 83.4% of customers surveyed responded favourably to this idea.
Currently Woolworths’ major competition, Coles, operates an eNewsletter, which Coles uses to convey information about its weekly specials, competitions and other news related to Coles (Fig 5 & 6).
Email newsletters are a proven low cost, measurable, communication method. There are numerous Email Marketing service providers who specialises in large scale mass mail-outs for corporate clients, such as Vision6 (Vision6: Our Clients 2010) and Gen3Media (Gen3Media: Corporate 2010). Each of these providers allows for personalisation of the emails sent to each customer based on a number of customisable factors.
These could include:
- Customers geographic location
- Customers previous purchasing habits
- Customers indicated items of interest i.e.; Health Foods, Fresh fruit or vegetables etc.
As Email Marketing is provided as “Software as a Service” by a third party provider no additional infrastructure would need to purchase on the part of Woolworths. A small investment would need to be made on modifying the Woolworths PC website to accommodate email capture to be used with the Email Marketing services.
Benefits of the proposed weekly email system include:
- Increased level of communication with customers.
- Increased customer awareness of available weekly specials
4.4 Awareness of store layout and product placement locations
During in-store observations of Woolworths’ customers, a recurring pattern of user behaviour was recorded: Customers often had trouble finding a specific product’s location within the store. The current process for customers to find a specific product would be to look walk around the store, possibly reading the isle signs, finally they would ask a staff member to point them in the right direction. This process while functional is somewhat time consuming, both on behalf of the customer and the staff member, and doesn’t satisfy Woolworth’s strategic goal of providing its customers with greater convenience.
We suggest making available, online (via PC and smart phone) a detailed isle map of product locations for each store, similar in function to Google Maps. A customer could search for a product by product name or product type and have that products location displayed on a store map, allowing them to easily navigate to the correct area of the store to retrieve the product.
This system could also be integrated with the weekly specials and inventory management systems of each store in order to provide the best possible information to the customer. As an example: A customer may search for toilet paper in the Moorooka store, the system would then provide a map showing where in the store toilet paper is located, along with the relevant weekly special information for that group of products and inventory levels of popular brands of toilet paper.
A system of this type would require a substantial investment in mapping & inventory tracking technologies in order to accurately track and place items within any given store. There would also need to be substantial investment in both PC and smart phone version of the Woolworths website in order to provide a seamless experience for the customer in order to allow them to easily and quickly locate the desired product.
Again at this stage none of Woolworths’ major competitors (eg. Coles) have implemented this type of system. This presents an opportunity for Woolworths to be the market leader in this type of integrated online/offline customer service.
There are a number of benefits associated with this type of system, not only from the customers prospective, but also for the efficiency of Woolworths’ in-store operations.
From the customers perspective a product mapping and location systems allows for:
- Decreased periods of time spent waiting for assistance.
- Decreased periods of time spent looking for specific products.
- Increased levels of convenience when searching for products.
- Increased awareness of potential savings or specials.
From Woolworths’ operation perspective a product mapping and location system allows for:
- Decrease in the amount of interruptions to staff performing stocking, or re-shelving duties.
- Decrease in the number of staff needed to effectively manage customers’ expectations in-store. Resulting in HR cost savings.
Surveys indicated that Woolworths’ customers are currently either not aware of or are not taking advantage of Woolworths’ weekly specials. Additional in-store observations indicated that customers often had issues locating specific products whilst shopping at Woolworths stores.
We have recommended the introduction of three online (PC and smart phone) technologies that we believe will help Woolworths’ offline customers to overcome these issues. They are:
- Develop and implement location aware services (geolocation API) for Woolworths PC and smart phone websites to help with the delivery of weekly specials and other information specific to the customer’s geographic locations, i.e. Price Check information.
- Develop and implement electronic mail delivery of weekly specials.
- Develop and implement in-store mapping services to help Woolworths’ customer’s location specific products in store without assistance from Woolworths’ staff members.
Currently none of Woolworths major competitors make use of geolocation technologies or in-store mapping technologies. This presents Woolworths with an opportunity to become a market leader in the adoption of these technologies.
6. Reference List:
InvestSMART: Woolworths Limited (WOW), 2010, viewed 4th May 2010,
Gen3Media: Corporate, 2010, viewed 7th May 2010,
Vision6: Our Clients, 2010, viewed 7th May 2010,
W3C (2009), ‘Geolocation API Specification’, 2010, viewed 9th May 2010,
Woolworths Limited (2009), ‘Annual Report’
University: Griffith University, Brisbane, Australia
Degree: Bachelor of Information Technology Accelerated
Date: May 12, 2010
Class/Course: 1410ICT Introduction to Information Systems
Author(s): Jeremy Cade, Robert Forrester
15 Apr 2010
Between 1834 and 1836, Charles Babbage, an English Mathematician began work his Analytical Engine. It was proposed to be a mechanical general purpose computer, one which, at least on paper shares many of the features of what we now think of as a being necessary to fit the description of a modern computer system. Had it been built it would have been capable of basic arithmetic addition, subtraction, multiplication and division, it would have also had a basic set of instructions allowing a user to create programs using punch cards. Its physical layout of a “store” (memory) and a “mill” (processing unit) would have mirrored what we would now know to be a Von Neumann based architecture. Babbage’s vision of the Analytical Engine was such that it would have been able to evaluate arbitrary formulas in a similar way to a modern computer with absolute integrity of the results. (Wilkes, 1991).
Work on the Analytical Engine began during the summer of 1834 after the 10 year Difference Engine No.1 Project had finished. Initial work proceeded at pace with a workable plan devised in the middle of 1836. During this time that Babbage was able to devise the first automated direct multiplication and division, at which point Babbage had devised a four function calculator, capable of all of the basic arithmetic operations (addition, subtraction, multiplication and division). (Swade, 2000), the idea of separate areas of the Engine for arithmetical operations and the “mill” and an area for storage of numbers, the “store” (terms borrowed from the textile industry) (Swade, 2000). Babbage also suggested the use of punch cards as a way to control the Analytical Engine, a technology borrowed from the Jacquard Loom (Essinger, 2004).
Multiplication and division operation were controlled by “barrels”, the surface of which contained fixed studs, similar to what can be seen on a children’s music box. Unfortunately the process of multiplication and division was time consuming, due in part for the need of repeated operations. To accommodate the execution time need for multiplication and division, Babbage set to work reducing the amount of time needed for addition. The difficulty with addition lay in the ability to carry tens. Babbage’s felt that his previous method of Successive Carry, used in the Difference Engine No.1 was too slow, as it required an extra unit of time for each digit in the working numbers. Babbage states: “At last I came to the conclusion that I had exhausted the principle of successive carriage. I concluded also that nothing but teaching the Engine to foresee and then to act upon that foresight could ever lead me to the object I desired, namely, to make the whole or any unlimited number of carriages in one unit of time.” (Morrison, P. & E. 1961. p. 53). The result of this line of thought was the anticipating carriage. Babbage thought this to be the single most important part of the Analytical Engine. The ENIAC machine would later use an electronic implementation of this idea (Thornton, 2007).
There was another issue relating to the carriage of tens. The amount of machinery required. Babbage found that it would be more economical to centralize all of the expensive machinery in one place rather than spreading it around the Engine as needed. So he split the engine into two distinct parts (Swade, 2000). The section of the engine dedicated to performing arithmetical functions he named the “mill”, the section of the engine used to store numbers was named the “store”. The Store consisted of columns of wheels which held the numbers that were to be used during operations. Today we would refer to the “store” as memory. The Mill on the other hand, contained all the machinery needed for arithmetical functions. Numbers would be called up from the Store and sent to the Mill via a set of axes that would act as buffer registers. This arrangement is very similar to today’s modern electronic computers. The architecture, now known as the Von Neumann architecture was first described in a paper published in 1945 by John Von Neumann (Swade, 2000). In that paper Von Neumann describes the internal layout of a modern electronic computer. One of the main features of that paper is the separation of the central processor for general memory. An idea clearly demonstrated by Babbage over 100 years earlier.
Prior to deciding on the use of punch cards, Babbage had experimented with studded barrels to control the sequence of operations to be executed by the engine. This approached had a level of inflexibility that was easily overcome with the use of punch cards (Bromley, 1982). Babbage realised that by using punch cards he could create a device with essentially unlimited capacity. The engine was designed to read in such a way, that the engine would register any given hole if a metal rod was able to pierce it. Babbage also devised a number of ways to ensure that cards were read correctly.
Babbage proposed four different types of punch cards: operation cards, number cards, variable cards and combinatorial cards.
Operation cards told the engine which type of operation to perform – addition, subtraction, multiplication or division. Operation cards could be strung together to perform set sequences of operations. This could be extended without limit. Variable cards specified where in the store a number was to be fetched and where to store a result of an operation. Number cards held numerical data. These cards could be used for setting initial values in the store automatically. They could also be used as secondary or reserve memory. Babbage had planned for number cards to be able to express numbers up to 1050-1 (Essinger, 2004). Combinatorial cards added the ability to loop back and iterate a through a set of operations.
Punch cards also have the distinct advantage of being a permanent record of both inputs and output from the engine, for instance, when a number is read out from the machine the figure wheel containing that number is set to zero, this is termed a destructive read out, where the number is lost after being read. Punch cards allow for a non-destructive read out of the values stored on those cards. This would have allowed for libraries of operation, variable and number cards to be created and used at will. It would also have allowed for a user to re-run a particular sequence and be confident that the result was correct. Babbage himself states “There is no limit to the number of such cards which may be strung together according to the nature of the operations required.” (Morrison, P. & E. 1961. p. 62).
By combining sets of punch cards it was possible to give instruction to the Analytical Engine, in a way similar to a modern computer. An operation card could correspond to the action to be performed or an Opcode using modern terminology, a variable card would specify where in memory to store or retrieve a value from, or an Operand. Number cards could act as user input in order to set values in the store as an alternative to setting them by hand; they could also be used for the input of pre-computed values (Swade, 2000).
Babbage’s engine was now capable of executing sequences of instructions entered via punch cards, which used the internal operations (microprograms) in any order, what we would today refer to as a program. The descendant of punch card technology would later be used with great success by IBM with their multiplying punch systems (Thornton, 2000).
While the Analytical Engine was programmable via punch cards, it appears that not effort was made by Babbage to store users programs internally in the engine. As such it was not a Stored-Program computer (Bromley 2000). This is in stark contrast to today’s modern computers. Each time a program was to be run the user would need to enter the full sequence of punch, where the concept of stored programs is fundamental to their operation. However the technology required for stored program computers wouldn’t be fully realised until the end of the 1940s.
As Babbage’s goal for the Analytical Engine was integrity of the results, he spent great amounts of time ensuring that the engine was resilient when encountering errors. For instance he devised a system of wedges to lock each figure wheel in place during the engines operations. The wedges would be withdrawn for the short periods of time when that figure wheel was required for an operation. The wedge would also help to keep figure wheels in correct alignment. If a figure wheel was out of alignment the wedge would class with the gears on the wheel and cause the engine to jam. Using this method Babbage could theoretically use the jamming of the engine as an error detection mechanism (Swade, 2000).
Babbage’s Analytical Engine was an extremely complex mechanical wonder, with many similarities to today’s modern computers. Particularly in the areas programmability along with logical and physical layout of the engine, in that Babbage choose to use punch cards and the segregation of the Store and Mill.
It could be said that with his design of the a centralised processing until along with a memory store that he is a father of modern computing, and indeed many text books make this claim, however as Swade (2000, p.93) states it was not until the 1960’s that Babbage’s work was studied in any great detail by academics. Allan Bromley goes one further and says with some authority: “Babbage had effectively no influence on the design of the modern computer” (Swade, 2000, p.309)
Bromley, A. G. (2000). Babbage’s Analytical Engine Plans 28 and 28a. The Programmers Interface [Electronic version]. Annals of the History of Computing, 22(4) 5-19.
Bromley, A. G. (1982). Charles Babbage’s Analytical Engine, 1838 [Electronic version]. Annals of the History of Computing, 4(3) 196-217
Essinger, J. (2004). Jacquard’s Web. How a hand-loom led to the birth of the information age. Oxford: Oxford University Press.
Morrison, P. and E. (Eds) (1961) Charles Babbage and his Calculating Engines. Of the Analytical Engine (pp. 52-72) Canada: Dover Publications, Inc.
Swade, D. (2000). The Cogwheel Brain. London: Little, Brown and Company
Thorton, J. (2007). The Foundations of Computing and the Information Technology Age. – A Historical, Sociological and Philosophical Enquiry. Sydney: Pearson Education Australia.
Wilkes, M. V. (1991). Babbage’s Expectations for his Engines [Electronic version]. Annals of the History of Computing, 13(2) 141-145