Presentasi sedang didownload. Silahkan tunggu

Presentasi sedang didownload. Silahkan tunggu

Arsitektur Software. Why Software Architecture Enterprise architecture Tujuan dasar dari sistem arsitektur adalah untuk mendukung lapisan yang lebih.

Presentasi serupa


Presentasi berjudul: "Arsitektur Software. Why Software Architecture Enterprise architecture Tujuan dasar dari sistem arsitektur adalah untuk mendukung lapisan yang lebih."— Transcript presentasi:

1 Arsitektur Software

2 Why Software Architecture

3 Enterprise architecture Tujuan dasar dari sistem arsitektur adalah untuk mendukung lapisan yang lebih tinggi dari arsitektur enterprise. Tujuan dasar dari sistem arsitektur adalah untuk mendukung lapisan yang lebih tinggi dari arsitektur enterprise. Di banyak perusahaan,perangkat lunak dan perangkat keras merupakan bagian yang signifikan dari total aset perusahaan. Adalah penting bahwa arsitek perusahaan tidak menyamakan tugas mereka dengan objek, aplikasi, atau mesin yang terdiri dari domain mereka. Di banyak perusahaan,perangkat lunak dan perangkat keras merupakan bagian yang signifikan dari total aset perusahaan. Adalah penting bahwa arsitek perusahaan tidak menyamakan tugas mereka dengan objek, aplikasi, atau mesin yang terdiri dari domain mereka. Tujuan mendasar adalah untuk mendukung dan memajukan tujuan bisnis dari perusahaan. Hardware dan software benda pada dasarnyabersifat sementara dan hanya ada untuk memajukan tujuan bisnis Tujuan mendasar adalah untuk mendukung dan memajukan tujuan bisnis dari perusahaan. Hardware dan software benda pada dasarnyabersifat sementara dan hanya ada untuk memajukan tujuan bisnis

4 Enterprise architecture model Bussiness Information Operational Organizational Architectural Infrastuctural

5 Considered as Systems Architecture best practices Know the business processes that the systems architecture is supporting. Know them inside and out. Know the business processes that the systems architecture is supporting. Know them inside and out. Keep support of those business processes first and foremost on your agenda. Know what the business needs and keep the business side aware of your accomplishments. Keep support of those business processes first and foremost on your agenda. Know what the business needs and keep the business side aware of your accomplishments. Know the components in your systems architecture: all the machines, applications, network connections, and so on. Know the components in your systems architecture: all the machines, applications, network connections, and so on. Instrument, your system. That is, install monitoring and measurement systems that allow you to find the problem areas and the bottlenecks. Instrument, your system. That is, install monitoring and measurement systems that allow you to find the problem areas and the bottlenecks.

6 Considered as Systems Architecture best practices Attack the cheap and easy problems first. That will build and help maintain credibility and trust with the business side of your company. Attack the cheap and easy problems first. That will build and help maintain credibility and trust with the business side of your company. Prioritize and be proactive. If you are not constrained to produce immediate results, identify the most important systems architecture problems and attack them first, even before they become problems. Good system measurements are key to being able to identify problem areas in your systems architecture and to establish the most effective means to deal with them. Prioritize and be proactive. If you are not constrained to produce immediate results, identify the most important systems architecture problems and attack them first, even before they become problems. Good system measurements are key to being able to identify problem areas in your systems architecture and to establish the most effective means to deal with them.

7 Considered as Systems Architecture best practices Know all your stakeholders. The people aspects of your systems architecture are at least as important as the machines Know all your stakeholders. The people aspects of your systems architecture are at least as important as the machines Only buy as much security as you need. Give up on the idea of becoming invulnerable. Prioritize your security issues into A, B, and C lists Only buy as much security as you need. Give up on the idea of becoming invulnerable. Prioritize your security issues into A, B, and C lists

8 Three Important aspects to Emphasize about Systems Architecture It must align (selaras) with the business goals of the organization. It must align (selaras) with the business goals of the organization. It must provide what the stakeholders need to perform their functions. This is a two-way street. The architecture team should take responsibility to establish communication with systems architecture stakeholders and to understand their issues. It must provide what the stakeholders need to perform their functions. This is a two-way street. The architecture team should take responsibility to establish communication with systems architecture stakeholders and to understand their issues. The software and hardware infrastructure of an enterprise is a major asset that must be managed to provide the greatest return on that investment. The software and hardware infrastructure of an enterprise is a major asset that must be managed to provide the greatest return on that investment.

9 Software Architecture Arsitektur Software dari sebuah sistem memiliki pengaruh pada kualitas dari arsitektur organisasi/enterprice Arsitektur Software dari sebuah sistem memiliki pengaruh pada kualitas dari arsitektur organisasi/enterprice Sementara desain dari software sistem berkonsentrasi pada terealisasinya/establish fungsi yang dibutuhkan system. Sementara desain dari software sistem berkonsentrasi pada terealisasinya/establish fungsi yang dibutuhkan system.

10 Software Architecture Software Architecture dari sebuah system mensupport semua kebutuhan dari system Software Architecture dari sebuah system mensupport semua kebutuhan dari system Sebagai contoh system harus terkoneksi dengan wifi atau terjadi perubahan dari bisnis rule enterprice maka software arsitektur dapat beradaptasi. Sebagai contoh system harus terkoneksi dengan wifi atau terjadi perubahan dari bisnis rule enterprice maka software arsitektur dapat beradaptasi.

11 Apa Software Architecture itu? Arsitektur Perangkat lunak suatu program atau sistem komputasi adalah struktur atau struktur sistem, yang meliputi komponen perangkat lunak, Properti dari komponen juga terlihat nyata, serta hubungan diantarnya (komponen PL). Arsitektur Perangkat lunak suatu program atau sistem komputasi adalah struktur atau struktur sistem, yang meliputi komponen perangkat lunak, Properti dari komponen juga terlihat nyata, serta hubungan diantarnya (komponen PL).

12 Apa Software Architecture itu? Arsitektur Perangkat lunak adalah satu set konsep dan keputusan disain tentang struktur dan tekstur perangkat lunak yang harus dibuat sebelum rancang-bangun untuk memungkinkan kepuasan efektif secara arsitektur kebutuhan berkwalitas dan fungsional yang tegas/eksplisit yang penting dan kebutuhan yang tersembunyi/terkandung pada keluarga produk (product family), masalah (the problem), dan daerah solusi (solution domain) Arsitektur Perangkat lunak adalah satu set konsep dan keputusan disain tentang struktur dan tekstur perangkat lunak yang harus dibuat sebelum rancang-bangun untuk memungkinkan kepuasan efektif secara arsitektur kebutuhan berkwalitas dan fungsional yang tegas/eksplisit yang penting dan kebutuhan yang tersembunyi/terkandung pada keluarga produk (product family), masalah (the problem), dan daerah solusi (solution domain)

13 Peran Arsitek Perangkat lunak ( The Role of a Software Architect) Menciptakan/membuat arsitektur perangkat lunak adalah suatu usaha sulit Menciptakan/membuat arsitektur perangkat lunak adalah suatu usaha sulit Arsitek perangkat lunak mempunyai pekerjaan yang paling sulit dalam merancang suatu perangkat lunak Arsitek perangkat lunak mempunyai pekerjaan yang paling sulit dalam merancang suatu perangkat lunak Ia atau dia harus mempunyai kepercayaan dari semua stakeholders Ia atau dia harus mempunyai kepercayaan dari semua stakeholders Kepercayaan ini didasarkan pada track record dari proyek yang sukses dikerjakannya dan rasa hormat dari pengembang yang menghormat/peduli padanya sebagai pemimpin teknis Kepercayaan ini didasarkan pada track record dari proyek yang sukses dikerjakannya dan rasa hormat dari pengembang yang menghormat/peduli padanya sebagai pemimpin teknis

14 Peran Arsitek Perangkat lunak Arsitek harus mampu berkomunikasi dengan semua komponen dalam suatu organisasi / perusahaan/enterprice Arsitek harus mampu berkomunikasi dengan semua komponen dalam suatu organisasi / perusahaan/enterprice Arsitek harus memiliki kemampuan dalam mendisain,kemampuan teknologi, dan mengerti/faham tentang aplikasi rancang-bangun perangkat lunak Arsitek harus memiliki kemampuan dalam mendisain,kemampuan teknologi, dan mengerti/faham tentang aplikasi rancang-bangun perangkat lunak Arsitek harus mampu melayari melalui/sampai dengan politik organisatoris untuk mendapatkan proyek itu Arsitek harus mampu melayari melalui/sampai dengan politik organisatoris untuk mendapatkan proyek itu Arsitek Perangkat lunak harus seorang pemimpin, penasihat, dan berani membuat keputusan Arsitek Perangkat lunak harus seorang pemimpin, penasihat, dan berani membuat keputusan

15 Mengapa kita butuh Arsitektur PL? Sama halnya peta, tujuan dari arsitektur PL adalah untuk mengabarkan/menginformasikan pemahaman perancangan sistem kepada pembaca Sama halnya peta, tujuan dari arsitektur PL adalah untuk mengabarkan/menginformasikan pemahaman perancangan sistem kepada pembaca tujuan dari arsitektur perangkat lunak adalah untuk mengkomunikasikan suatu gagasan. tujuan dari arsitektur perangkat lunak adalah untuk mengkomunikasikan suatu gagasan. membawa pembaca ke dalam perangkat lunak dan menjelaskan konsep yang penting. membawa pembaca ke dalam perangkat lunak dan menjelaskan konsep yang penting. membantu mereka memahami aspek yang penting dari sistem dan memberi mereka nilai rasa suatu sistem tanpa benar-benar melihat kedalamnya. membantu mereka memahami aspek yang penting dari sistem dan memberi mereka nilai rasa suatu sistem tanpa benar-benar melihat kedalamnya.

16 Dua pendekatan dalam Pengembangan Software Software development approaches vary between two extremes 1. The first method involves little or no upfront modeling or design This is the "shanty town" method of system development in which a few developers code without a mental picture in their heads about the system they are building.

17 First method Some managers believe that if developers aren't coding, they aren't working Some managers believe that if developers aren't coding, they aren't working These project managers also believe that the sooner developers begin coding, the sooner they will be done. These project managers also believe that the sooner developers begin coding, the sooner they will be done. This stems from the incorrect belief that a constant amount of time is involved in the coding of the system no matter what upfront process is used. This stems from the incorrect belief that a constant amount of time is involved in the coding of the system no matter what upfront process is used.

18 First method In this type of environment, developers don't fully understand the requirements for the system. Some of these environments deliver decent software through heroics by developers and frequent rewrites, although this approach is not repeatable, and it is extremely risky. In this type of environment, developers don't fully understand the requirements for the system. Some of these environments deliver decent software through heroics by developers and frequent rewrites, although this approach is not repeatable, and it is extremely risky.

19 Second method "ivory tower" software architecture in which a design team or a single architect design a system in every detail, down to the class and method level. "ivory tower" software architecture in which a design team or a single architect design a system in every detail, down to the class and method level. The architect has a clear picture in his or her head about the design of the system but has not left many of the implementation details to the developers. The architect has a clear picture in his or her head about the design of the system but has not left many of the implementation details to the developers.

20 Second method The belief in these environments is that the architects are the most experienced developers and thus can design the best possible system from start to finish. The belief in these environments is that the architects are the most experienced developers and thus can design the best possible system from start to finish. No one person or small team can possibly understand all the requirements, predict every change in requirements, and have expertise in every technology that the project is built upon. No one person or small team can possibly understand all the requirements, predict every change in requirements, and have expertise in every technology that the project is built upon.

21 Second method Developers in these environments also suffer from low morale because they are perceived as somehow inferior to the designers of the system. Developers in these environments also suffer from low morale because they are perceived as somehow inferior to the designers of the system. Morale is also poor because the developers must implement the design in a prescriptive way with little or no input into the design of the system. Morale is also poor because the developers must implement the design in a prescriptive way with little or no input into the design of the system.

22 The Middle of the Road So what does all this have to do with software architecture? Software architecture is the middle road between no design and complete design. So what does all this have to do with software architecture? Software architecture is the middle road between no design and complete design. It is a view of the system design that shows how the design satisfies the critical requirements of the system. It is a view of the system design that shows how the design satisfies the critical requirements of the system.

23 The Middle of the Road It is the role of the software architect to design the structures of the software such that those critical requirements are satisfied. It is also the goal of the software architecture to facilitate the development of the system by multiple teams in parallel. It is the role of the software architect to design the structures of the software such that those critical requirements are satisfied. It is also the goal of the software architecture to facilitate the development of the system by multiple teams in parallel.

24 The Middle of the Road In addition, if multiple teams or departments within an organization will support and maintain the software, the software architecture will allow those parts of the system to be managed and maintained separately. The most important role that the software architecture has is that of an organizing concept for the system. In addition, if multiple teams or departments within an organization will support and maintain the software, the software architecture will allow those parts of the system to be managed and maintained separately. The most important role that the software architecture has is that of an organizing concept for the system.

25 The Middle of the Road The software architect has an idea how the system should work. The software architect has an idea how the system should work. The software architecture is the communication of that idea to other system stakeholders so that everyone understands what the system does and how it does it. The software architecture is the communication of that idea to other system stakeholders so that everyone understands what the system does and how it does it.

26 The Middle of the Road In a practical sense, two rules determine whether or not a design detail should be included in the software architecture: In a practical sense, two rules determine whether or not a design detail should be included in the software architecture: 1. The design detail must support a quality requirement. 2. The design detail must not detract (mengurangi) from stakeholder understanding of the software architecture.

27 The System Stakeholders Many people believe that the software architecture is meant only for developers to use as an overall guide for system design and construction. Many people believe that the software architecture is meant only for developers to use as an overall guide for system design and construction. While this may be the software architecture's primary purpose, other system stakeholders can use the architecture as a basis to guide their activities as well. The following are some of the system stakeholders: While this may be the software architecture's primary purpose, other system stakeholders can use the architecture as a basis to guide their activities as well. The following are some of the system stakeholders:

28 The System Stakeholders Developers Developers Managers Managers Software architects Software architects Data administrators Data administrators System customers System customers Operations Operations Marketing Marketing Finance Finance End-users End-users General management General management Subcontractors Subcontractors Testing and quality assurance Testing and quality assurance UI designers UI designers Infrastructure administrators Infrastructure administrators Process administrators Process administrators Documentation specialists Documentation specialists Enterprise architects Enterprise architects Data administrators Data administrators

29 The System Stakeholders The software architect must elicit (menimbulkan/memunculkan) input from all the system stakeholders to fully understand the requirements for the architecture. The software architect must elicit (menimbulkan/memunculkan) input from all the system stakeholders to fully understand the requirements for the architecture. This is important because the requirements are built from the perspective of what the system should do. However, the architecture must reflect how the system will perform those functions. This is important because the requirements are built from the perspective of what the system should do. However, the architecture must reflect how the system will perform those functions.

30 The System Stakeholders The system's customers want the system to be of high quality. The system's customers want the system to be of high quality. They want the system to be delivered in a timely manner. And they want it to be developed as inexpensively as possible. They want the system to be delivered in a timely manner. And they want it to be developed as inexpensively as possible.

31 The System Stakeholders The development organization is looking for a vision for the system it is going to design and develop. The development organization is looking for a vision for the system it is going to design and develop. It wants to know that the architecture is easy to implement. It has hard deadlines that it must meet, so reusability is important. It wants to know that the architecture is easy to implement. It has hard deadlines that it must meet, so reusability is important. The developers are going to be looking for technologies in the architecture that they currently understand. The developers are going to be looking for technologies in the architecture that they currently understand.

32 The System Stakeholders They want the architecture to match their desired platforms, development tools, libraries, and frameworks. They want the architecture to match their desired platforms, development tools, libraries, and frameworks. They need to meet dates, so the architecture should ease their development effort. They need to meet dates, so the architecture should ease their development effort. Most of all, they want an architecture that they have participated in developing and evolving throughout the lifetime of the product. Most of all, they want an architecture that they have participated in developing and evolving throughout the lifetime of the product.

33 Creating a Software Architecture: An Example The architects on the project faced a difficult job. The architects on the project faced a difficult job. They realized that the software architecture is implemented at the beginning, middle, and end of every project. They realized that the software architecture is implemented at the beginning, middle, and end of every project. However, much more emphasis is on it at the beginning of every project. However, much more emphasis is on it at the beginning of every project.

34 Creating a Software Architecture: An Example Before the architects started, they created a checklist of principles they would strive to follow while they created the architecture: Before the architects started, they created a checklist of principles they would strive to follow while they created the architecture: 1. The architecture should be thin. 2. The architecture should be approachable. 3. The architecture should be readable. 4. The architecture should be understandable. 5. The architecture should be credible.

35 Creating a Software Architecture: An Example 6. The architecture doesn't have to be perfect. 7. Don't do big upfront design. If given a choice between making the model perfect or implementing it, implement it. 8. Do the simplest thing that could possibly work without precluding future requirements. 9. The architecture is a shared asset. 10. Involve all stakeholders but maintain control. 11. The architecture team should be small. 12. Remember the difference between a pig and a chicken.

36 Quality Attributes The software architecture of a system promotes, enforces, and predicts the quality attributes that the system will support. The software architecture of a system promotes, enforces, and predicts the quality attributes that the system will support. Quality attributes are those system properties over and above the functionality of the system that make the system a good one or a bad one from a technical perspective. Quality attributes are those system properties over and above the functionality of the system that make the system a good one or a bad one from a technical perspective.

37 Quality Attributes There are two types of quality attributes: There are two types of quality attributes: 1. those that are measured at run-time 2. those that can only be estimated through inspection.

38 Quality Attributes Since the software architecture of a system is a partial design of a system before it is built, it is the responsibility of the software architect to identify those quality attributes that are most important and then attempt to design an architecture that reflects those attributes. Since the software architecture of a system is a partial design of a system before it is built, it is the responsibility of the software architect to identify those quality attributes that are most important and then attempt to design an architecture that reflects those attributes.

39 Quality Attributes The quality attributes that most architects should be concerned with are (Bass, Clements, Kazman 1997; Clements, Kazman, Klein 2002): The quality attributes that most architects should be concerned with are (Bass, Clements, Kazman 1997; Clements, Kazman, Klein 2002):Bass, Clements, Kazman 1997Clements, Kazman, Klein 2002Bass, Clements, Kazman 1997Clements, Kazman, Klein Performance— a measurement of the system response time for a functional requirement. 2. Availability— the amount of time that the system is up and running. It is measured by the length of time between failures, as well as by how quickly the system is able to restart operations after a failure. For example, if the system was down for one day out of the last twenty, the availability of the system for the twenty days is 19/19+1 or 95 percent availability. This quality attribute is closely related to reliability. The more reliable a system is, the more available the system will be. 3. Reliability— the ability of the system to operate over time. Reliability is measured by the mean-time-to-failure of the system. 4. Functionality— the ability of the system to perform the task it was created to do. 5. Usability— how easy it is for the user to understand and operate the system.

40 Quality Attributes 6. Security— the ability of the system to resist unauthorized attempts to access the system and denial-of-service attacks while still providing services to authorized users. 7. Modifiability— the measurement of how easy it is to change the system to incorporate new requirements. The two aspects of modifiability are cost and time. If a system uses an obscure technology that requires high-priced consultants, even though it may be quick to change, its modifiability can still be low. 8. Portability— measures the ease with which the system can be moved to different platforms. The platform may consist of hardware, operating system, application server software, or database server software. 9. Reusability— the ability to reuse portions of the system in other applications. Reusability comes in many forms. The run-time platform, source code, libraries, components, operations, and processes are all candidates for reuse in other applications. 10. Integrability— the ability of the system to integrate with other systems. The integrability of a system depends on the extent to which the system uses open integration standards and how well the API is designed such that other systems can use the components of the system being built.

41 Quality Attributes 11. Integrability— the ability of the system to integrate with other systems. The integrability of a system depends on the extent to which the system uses open integration standards and how well the API is designed such that other systems can use the components of the system being built. 12. Testability— how easily the system can be tested using human effort, automated testing tools, inspections, and other means of testing system quality. Good testability is related to the modularity of the system. If the system is composed of components with well-defined interfaces, its testability should be good. 13. Variability— how well the architecture can handle new requirements. Variability comes in several forms. New requirements may be planned or unplanned. At development time, the system source code might be easy to extend to perform new functions. At run-time, the system might allow pluggable components that modify system behavior on the fly. This quality attribute is closely related to modifiability. 14. Subsetability— the ability of the system to support a subset of the features required by the system. For incremental development, it is important that a system can execute some functionality to demonstrate small iterations during product development. It is the property of the system that allows it to build and execute a small set of features and to add features over time until the entire system is built. This is an important property if the time or resources on the project are cut. If the subsetability of the architecture is high, a subset of features may still make it into production. 15. Conceptual integrity

42 reference James McGovern, Scott W. Ambler, Michael E. Stevens, James Linn, Vikas Sharan, Elias K. Jo, 2003, “A Practical Guide to Enterprise Architecture”, Prentice Hall PTR James McGovern, Scott W. Ambler, Michael E. Stevens, James Linn, Vikas Sharan, Elias K. Jo, 2003, “A Practical Guide to Enterprise Architecture”, Prentice Hall PTR James McGovernScott W. Ambler Michael E. StevensJames Linn Vikas SharanElias K. Jo James McGovernScott W. Ambler Michael E. StevensJames Linn Vikas SharanElias K. Jo


Download ppt "Arsitektur Software. Why Software Architecture Enterprise architecture Tujuan dasar dari sistem arsitektur adalah untuk mendukung lapisan yang lebih."

Presentasi serupa


Iklan oleh Google