Application Development Methodologies PDF
Document Details
Uploaded by SecureCerium
Engr. Andrew Gallemit, MSIT
Tags
Related
- Module 3 Application Development PDF
- Mobile Application Development Lecture Notes PDF
- 02 Mobile Application Development .pdf
- Introduction-to-Application-Development-and-Emerging-Technologies.pptx
- Chapter Two: Factors in Developing Mobile Applications PDF
- Software Engineering Midterm Exam PDF - 2023/2024
Summary
This document discusses application development methodologies, outlining various approaches such as waterfall and agile. It explores the importance of choosing the right methodology for project success, focusing on factors like managing project costs, understanding project requirements, and enabling successful delivery.
Full Transcript
APPLICATION DEVELOPMENT METHODOLOGIES 1 BY: ENGR. ANDREW GALLEMIT, MSIT What are application development methodologies? App development methodologies are frameworks that provide a systematic approach to the app development process. These methodologies...
APPLICATION DEVELOPMENT METHODOLOGIES 1 BY: ENGR. ANDREW GALLEMIT, MSIT What are application development methodologies? App development methodologies are frameworks that provide a systematic approach to the app development process. These methodologies ensure the final product is high quality, meets user requirements, and is delivered on time and within budget. 2 Why is choosing the right app development methodology important? In 2022, IT spending on enterprise software amounted to around 783 billion US dollars worldwide, a growth of 7.1 percent from the previous year. (Enterprise software total worldwide expenditure 2009-2024 Published by Lionel Sujay Vailshery, March 7, 2024) 3 The methodology used decides the overall structure of the app development process, such as: How the project is managed How requirements are gathered How testing is performed How changes are implemented 4 Why the right App Development Methodology matters? Ensures that the development team understands the project requirements and delivers a final product that meets those requirements. Provides a framework that organizes the development process. This reduces the risk of misunderstandings and missed deadlines. Helps identify potential project risks and eliminates the likelihood of project failure due to unforeseen circumstances. Promotes healthy communication and understanding among team members, improves collaboration and reduces the risk of miscommunication. Aids in managing project costs, ensuring that the project is completed within budget. 5 6 Managing the Software Development Process 3.1 WHAT IS PROJECT MANAGEMENT? Project management encompasses all the activities needed to plan and execute a project: Deciding what needs to be done Estimating costs Ensuring that there are suitable people to undertake the project Defining responsibilities Scheduling Making arrangements for the work continued... 8 WHAT IS PROJECT MANAGEMENT? Directing Being a technical leader Reviewing and approving decisions made by others Building morale and supporting staff Monitoring and controlling Coordinating the work with managers of other projects Reporting Continually striving to improve the process 9 3.2 SOFTWARE PROCESS MODELS Software process models are general approaches for organizing a project into activities. Help the project manager and his or her team to decide: What work should be done In what sequence to perform the work. The models should be seen as aids to thinking, not rigid prescriptions of the way to do things. Each project ends up with its own unique plan. 10 13 THE WATERFALL MODEL The classic way of looking at software engineering that accounts for the importance of requirements, design and quality assurance. The model suggests that software engineers should work in a series of stages. Before completing each stage, they should perform quality assurance (verification and validation). The waterfall model discourages going back to earlier stages. 14 LIMITATIONS OF THE WATERFALL MODEL The model implies that you should attempt to complete a given stage before moving on to the next stage Does not account for the fact that requirements constantly change. It also means that customers cannot use anything until the entire system is complete. The model makes no allowances for prototyping. It implies that you can get the requirements right by simply collecting them early in the project history. 15 Agile Software Development Method The twenty-first century customer demands a quality application delivered almost immediately In 2001 a group of developers met to discuss the state of lightweight (not too many rigorous rules) and rapid development methodologies They created the "Manifesto for Agile Software Development," a document that became the cornerstone of the Agile movement 16 Agile Software Development Method We are uncovering better ways of developing software by doing it and helping others do it Through this work we have come to value: Individuals and interactions over processes and tools Working software over comprehensive documentation Customer collaboration over contract negotiation Responding to change over following a plan That is, while there is value in the items on the right, we value the items on the left more 17 THE AGILE MODEL Agile = “Characterized by quickness, lightness, and ease of movement” Agile Software development is about fast delivery of software with more ease of development Emphasizes customer satisfaction through continuous delivery of functional software The two most popular methods are Scrum and eXtreme Programming (XP) 18 KEY FEATURES OF AGILE DEVELOPMENT Iterative: Entire application is distributed in incremental units called iterations. Development time of each iteration is small (couple of weeks), fixed and strictly adhered to. Every Iteration is a mini-increment of the functionality and is build on top of previous iteration. Active Customer Involvement: There is a lot of client involvement and face-to-face interaction. Every iteration is tested and approved by the client. The feedback obtained is implemented in subsequent iterations; thus minimizing risk and ensuring higher client satisfaction. 19 KEY FEATURES OF AGILE DEVELOPMENT Feature Driven: More emphasis is on providing the required features in the application. 80/20 principle is applied to decide the 20% of features which will be used 80% of the time. Fixed Time: Each iteration has a fixed time span (couple of weeks) in which it is delivered. Priority-Based Delivery: Features are prioritized depending on customer need, development risk, etc. High priority features are developed first. After every iteration, the project priorities are re- evaluated. 20 KEY FEATURES OF AGILE DEVELOPMENT Adaptive: The methodology in general is very adaptive, so that the application that is developed can cater to the arrival of new requirements throughout its development. Goal is not to remove the uncertainty in the very beginning, but is to adapt to the changing needs. Empowered Teams: Project teams are generally small and have lot of interaction and communication. Since the entire team is actively involved, the team is empowered to make decisions. 21 KEY FEATURES OF AGILE DEVELOPMENT People Centric: More emphasis is on using well-skilled people to do the development than on following specific processes. Documentation and other non-development activities are minimized and more time is devoted to development and testing. More Disciplined: Everything should be delivered correctly the first time. So the process involves a lot of team discipline and self-discipline. Thus, it requires highly- skilled and organized team members. Simplicity: Emphasis is on keeping things as simple as possible and being open to change. 22 WHY SHOULD AGILE BE CONSIDERED? Benefits to the Customer Customer is more actively involved, and gets higher priority Customer gets regular and frequent status updates Requirements are "accepted" after each iteration Agile methodology emphasizes rapid delivery. So the key functionalities can be available to use sooner. Delivery is defined by a fixed timescale. So the customer is assured of receiving some functionality by a fixed time period. More testing is done, so better software quality is delivered 23 WHY SHOULD AGILE BE CONSIDERED? Benefits to the Project Team Project team is involved more actively in all the stages. The team members collaboratively make decisions and are more empowered. Since the development is incremental, team can focus on the current requirements at any given point of time. More emphasis is on developing the application only, and not on documentation. Simple and minimal documents are used. Less time is spent in gathering requirements as all the requirements are not gathered up front and are implemented only when they arise. 24 WHY SHOULD AGILE BE CONSIDERED? Benefits to the Project Team (continued) Less time is required for planning. Less cost of development as rework, management, documentation, and other non-development work-related cost is reduced. Team develops application collaboratively and in a cooperative environment. 25 AGILE IS DIFFICULT SINCE... It requires more testing and active customer involvement. It impacts management more than developers. Management has to be more open, be actively involved in the development process and (most importantly) allow the team to make decisions. Code will be integrated continuously. To ensure the application is always in a workable state, all the code has to work … always. Highly skilled and flexible people with passion should be involved. 26 AGILE IS BEST SUITED FOR A PROJECT WITH... Frequently changing requirements The team and the customer are co- located Client open to lot of involvement and ready to invest time 27 REENGINEERING Periodically project managers should set aside some time to re-engineer part or all of the system The extent of this work can vary considerably: Cleaning up the code to make it more readable. Completely replacing a layer. Re-factoring part of the design. In general, the objective of a re-engineering activity is to increase maintainability. 30 3.3 COST ESTIMATION To estimate how much software engineering time will be required to do some work. Elapsed time The difference in time from the start date to the end date of a task or project. Development effort The amount of labor used in person-months or person-days. To convert an estimate of development effort to an amount of money: You multiply it by the weighted average cost (burdened cost) of employing a software engineer for a month (or a day). 31 PRINCIPLES OF EFFECTIVE COST ESTIMATION Principle 1: Divide and conquer. To make a better estimate, you should divide the project up into individual subsystems. Then divide each subsystem further into the activities that will be required to develop it. Then make a series of detailed estimates for each individual activity. Then sum the results to arrive at the grand total estimate for the project. 32 PRINCIPLES OF EFFECTIVE COST ESTIMATION Principle 2: Include all activities when making estimates. The time required for all development activities must be taken into account. Including: Prototyping Design Inspecting Testing Debugging Writing user documentation 33 Deployment. PRINCIPLES OF EFFECTIVE COST ESTIMATION Principle 3: Base your estimates on past experience combined with knowledge of the current project. If you are developing a project that has many similarities with a past project: You can expect it to take a similar amount of work. Base your estimates on the personal judgement of your experts or Use algorithmic models developed in the software industry as a whole by analyzing a wide range of projects. They take into account various aspects of a project’s size and complexity, and provide formulas to compute anticipated cost. 34 PRINCIPLES OF EFFECTIVE COST ESTIMATION Principle 4: Be sure to account for differences when extrapolating from other projects. Different software developers Different development processes and maturity levels Different types of customers and users Different schedule demands Different technology Different technical complexity of the requirements Different domains Different levels of requirement stability 36 PRINCIPLES OF EFFECTIVE COST ESTIMATION Principle 5: Anticipate the worst case and plan for contingencies. Develop the most critical use cases first If the project runs into difficulty, then the critical features are more likely to have been completed Make three estimates: Optimistic (O) Imagining everything going perfectly Likely (L) Allowing for typical things going wrong Pessimistic (P) 37 Accounting for everything that could go wrong PRINCIPLES OF EFFECTIVE COST ESTIMATION Principle 6: Combine multiple independent estimates. Use several different techniques and compare the results. If there are discrepancies, analyze your calculations to discover what factors causing the differences. Use the Delphi technique. Several individuals initially make cost estimates in private. They then share their estimates to discover the discrepancies. Each individual repeatedly adjusts his or her estimates until a consensus is reached. 38 SCRUM POKER Scrum Poker is a consensus-based technique for estimating effort Variation of the Delphi method Members of the group make estimates by playing numbered cards face-down on the table instead of speaking estimates aloud Cards are revealed and estimates are discussed 39 SCRUM POKER Avoids the bias of "anchoring" -- first number sets a precedent for subsequent estimates Some organizations use standard playing cards of Ace (1), 2, 3, 5, 8, and King King means "This item is too big or too complicated to estimate" Smartphones allow developers to use apps instead of physical card decks 40 PRINCIPLES OF EFFECTIVE COST ESTIMATION Principle 7: Revise and refine estimates as work progresses As you add detail. As the requirements change. As the risk management process uncovers problems. 41 3.4 SOFTWARE ENGINEERING TEAMS Software engineering is a human process. Choosing appropriate people for a team, and assigning roles and responsibilities to the team members, is therefore an important project management skill Software engineering teams can be organized in many different ways a) Egoless b) Chief programmer c) Strict hierarch y 42 SOFTWARE ENGINEERING TEAMS Egoless team: Also called a “self-organizing team” In such a team everybody is equal, and the team works together to achieve a common goal. Decisions are made by consensus. Most suited to difficult projects with many technical challenges. Egoless/self-organizing is the typical Agile team organization. 43 SOFTWARE ENGINEERING TEAMS Hierarchical manager-subordinate structure: Each individual reports to a manager and is responsible for performing the tasks delegated by that manager. Suitable for large projects with a strict schedule where everybody is well-trained and has a well-defined role. However, since everybody is only responsible for their own work, problems may go unnoticed. 44 SOFTWARE ENGINEERING TEAMS Chief programmer team: Midway between egoless and hierarchical. The chief programmer leads and guides the project. He or she consults with, and relies on, individual specialists. 45 CHOOSING AN EFFECTIVE SIZE FOR A TEAM For a given estimated development effort, in person months, there is an optimal team size. Doubling the size of a team will not halve the development time. Subsystems and teams should be sized such that the total amount of required knowledge and exchange of information is reduced. For a given project or project iteration, the number of people on a team will not be constant. You cannot generally add people if you get behind schedule, in the hope of catching up. 46 SKILLS NEEDED ON A TEAM Architect Project manager Configuration management and build specialist User interface specialist Technology specialist Hardware and third-party software specialist User documentation specialist Tester 47 3.5 PROJECT SCHEDULING AND TRACKING Scheduling is the process of deciding: In what sequence a set of activities will be performed. When they should start and be completed. Tracking is the process of determining how well you are sticking to the cost estimate and schedule. 48 PERT CHARTS A PERT chart shows the sequence in which tasks must be completed. In each node of a PERT chart, you typically show the elapsed time and effort estimates. The critical path indicates the minimum time in which it is possible to complete the project. 49 EXAMPLE OF A PERT CHART 50 GANTT CHARTS A Gantt chart is used to graphically present the start and end dates of each software engineering task One axis shows time. The other axis shows the activities that will be performed. The black bars are the top-level tasks. The white bars are subtasks The diamonds are milestones: Important deadline dates, at which specific events may occur 51 EXAMPLE OF A GANTT CHART 52