Drupal 101: Tips and Tricks for Troubleshooting DrupalAcquia
The site is published, your design is pristine, and it is ready for action... so, now what? While you may think you’re in the clear, site issues are likely to arise at some point. To protect your business from a site-crash nightmare, there are necessary precautions you should take.
Customer support engineers Lanette and Ally are here to prepare you for the worst; using their 3.5 years of Drupal experience to explain common issues they’ve encountered, how to identify them, and how to remedy problems quickly.
In this webinar, you will learn:
- Early steps to take to maintain site health
- Preparing your team for common site complications
- Tips and tricks for troubleshooting if problems arise
- Third-party tools to help you resolve issues
Drupal 8 Quick Start: An Overview of LightningAcquia
Lightning is a a solid Drupal starterkit, that enables developers to create great authoring experiences and empower editorial teams. Lightning provides users with a lightweight framework for building working solutions in Drupal.
In our upcoming webinar, we will examine each component of Lightning and demonstrate how to leverage its features in any Drupal build. Topics included will review the use cases for each of the functional areas (layout, media, workflow, and preview) as well as the three development principles (security, automated testing, and integration). We’ll also give a summary of recent findings from the authoring experience summit at BADCamp and how they will affect the development timeline for Lightning.
Attendees will learn:
- How to significantly cut build time on advanced Drupal 8 projects using Lightning
- How Lightning improves the accuracy of your development estimates
- How you can contribute to the Lightning project
- Our 3 year vision for Lightning
Lightning Distribution for Drupal: Build Advanced Authoring Experiences in Dr...Acquia
Lightning provides developers with a lightweight framework for building advanced authoring experiences in Drupal 8. Developers gain a massive head-start when building great authoring experiences with Lightning, but it has not been a simple development roadmap. In this webinar, learn about some of the decisions we had to tackle, including:
-Which modular functionality should be considered core to the authoring experience?
-How will developers extend Lighting to create their own corporate or vertical distributions that leverage our authoring capabilities?
-Should Lighting be divisible into its components?
-How do we give developers the best upgrade experience possible? <spoiler> Composer </spoiler>
We will also share more of the roadmap for Lightning including the Workplace Preview System, a Higher Education Scenario, and Decoupled Blocks integration. Also included will be a demo of all 18 of our user stories so you understand the intent and operation of the features we have implemented.
Drupal 101: Tips and Tricks for Troubleshooting DrupalAcquia
The site is published, your design is pristine, and it is ready for action... so, now what? While you may think you’re in the clear, site issues are likely to arise at some point. To protect your business from a site-crash nightmare, there are necessary precautions you should take.
Customer support engineers Lanette and Ally are here to prepare you for the worst; using their 3.5 years of Drupal experience to explain common issues they’ve encountered, how to identify them, and how to remedy problems quickly.
In this webinar, you will learn:
- Early steps to take to maintain site health
- Preparing your team for common site complications
- Tips and tricks for troubleshooting if problems arise
- Third-party tools to help you resolve issues
Drupal 8 Quick Start: An Overview of LightningAcquia
Lightning is a a solid Drupal starterkit, that enables developers to create great authoring experiences and empower editorial teams. Lightning provides users with a lightweight framework for building working solutions in Drupal.
In our upcoming webinar, we will examine each component of Lightning and demonstrate how to leverage its features in any Drupal build. Topics included will review the use cases for each of the functional areas (layout, media, workflow, and preview) as well as the three development principles (security, automated testing, and integration). We’ll also give a summary of recent findings from the authoring experience summit at BADCamp and how they will affect the development timeline for Lightning.
Attendees will learn:
- How to significantly cut build time on advanced Drupal 8 projects using Lightning
- How Lightning improves the accuracy of your development estimates
- How you can contribute to the Lightning project
- Our 3 year vision for Lightning
Lightning Distribution for Drupal: Build Advanced Authoring Experiences in Dr...Acquia
Lightning provides developers with a lightweight framework for building advanced authoring experiences in Drupal 8. Developers gain a massive head-start when building great authoring experiences with Lightning, but it has not been a simple development roadmap. In this webinar, learn about some of the decisions we had to tackle, including:
-Which modular functionality should be considered core to the authoring experience?
-How will developers extend Lighting to create their own corporate or vertical distributions that leverage our authoring capabilities?
-Should Lighting be divisible into its components?
-How do we give developers the best upgrade experience possible? <spoiler> Composer </spoiler>
We will also share more of the roadmap for Lightning including the Workplace Preview System, a Higher Education Scenario, and Decoupled Blocks integration. Also included will be a demo of all 18 of our user stories so you understand the intent and operation of the features we have implemented.
Một hệ thống với 75.000 đơn hàng/1 ngày, quản lý tới hàng triệu SKU, giao dịch chạy qua hệ thống lên tới con số nghìn tỉ với tổng cộng trên 8.000 khách hàng đang sử dụng.
Đó chính là: Sapo - Phần mềm quản lý bán hàng trên nền tảng mở, quản lý bán hàng đa kênh, sử dụng kiến trúc Microservices thay thế kiến trúc Monolithic cũ.
Qua buổi chia sẻ kéo dài trong 2h, diễn giả Khôi Nguyễn sẽ giới thiệu về mô hình kiến trúc Microservices và một số bài toán đặc thù của Sapo đã được giải quyết dựa trên mô hình này.
Diễn giả:
Nguyễn Minh Khôi (https://www.facebook.com/khoi.nguyen.84 ) -
CTO DKT Technology ( http://www.dkt.com.vn/ )
Một hệ thống với 75.000 đơn hàng/1 ngày, quản lý tới hàng triệu SKU, giao dịch chạy qua hệ thống lên tới con số nghìn tỉ với tổng cộng trên 8.000 khách hàng đang sử dụng.
Đó chính là: Sapo - Phần mềm quản lý bán hàng trên nền tảng mở, quản lý bán hàng đa kênh, sử dụng kiến trúc Microservices thay thế kiến trúc Monolithic cũ.
Qua buổi chia sẻ kéo dài trong 2h, diễn giả Khôi Nguyễn sẽ giới thiệu về mô hình kiến trúc Microservices và một số bài toán đặc thù của Sapo đã được giải quyết dựa trên mô hình này.
Diễn giả:
Nguyễn Minh Khôi (https://www.facebook.com/khoi.nguyen.84 ) -
CTO DKT Technology ( http://www.dkt.com.vn/ )
3. 3
I. Relationships và Associations
1. Relationships in General
• Trong EDM designer, bạn sẽ thấy các relationships giữa
các entities.
• Những relationships hoặc associations thì được hiển thị
bằng đường thẳng giữa các entities
4. 4
I. Relationships và Associations (tt)
• Các loại:
One: hiển thị số 1, và cuối relationships chỉ có thể có một item, không ít
hơn 1 và không nhiều hơn 1.
Many: Hiển thị dấu *, cuối relationships có thể có một hoặc nhiều hơn
một items.
Zero or One: Hiển thị ký tự: 0..1, cuối relationships có thể không có hoặc
có một item.
5. 5
I. Relationships và Associations (tt)
2. Relationships in EF 3.5
Trong EF 3.5, khi tạo các Entities trong EDM thì các thuộc
tính khóa ngoại bị bỏ qua. Không được đưa vào trong
Entities.
3. Relationships in EF 4.0
Có thêm tùy chọn để thêm vào các thuộc tính khóa ngoại
trong Entities. Chỉnh sửa các association và tham chiếu
dễ dàng hơn.
6. 6
I. Relationships và Associations (tt)
4. Sự khác biệt trong XML:
• khác với EF 3.5, ở EF 4.0 thì phần conceptual schema
definition language (CSDL) được chia làm 2 phần:
Phần đầu chứa AssociationSet
Phần hai chứa thành phần ReferentialConstraint
8. 8
II. Stored Prodcedures và EDM
1. Store procedure trong EDM
• Mặc định khi tạo EDM, nó sẽ tạo ra 1 store procedure để
quản lý
• Bạn có thể tạo ra nhiều store procedure để quản lý việc
insert, update, delete từ database
• Sau khi tạo store procedure, ta sẽ add vào model.
• Ví dụ minh họa
9. 9
II. Stored Prodcedures và EDM (tt)
2. Model Browser
• Cửa sổ trình bày các thủ tục trong Store procedure sau
khi được tạo ra
10. 10
II. Stored Prodcedures và EDM (tt)
3. Chức năng của EF
• Khi thêm store procedure vào EDM, SOAP Service
Description Language (SSDL) đại diện cho store
procedure như 1 chức năng
• Store procedure được biểu diễn thông qua thẻ
<function>
• Element này chứa một vài attribule định nghĩa như đặc
điểm và hành vi của store procedure như schema
11. 11
II. Stored Prodcedures và EDM (tt)
4. Mapping function
• Mặc định, EF xây dựng các câu lệnh insert, delete,
update và gửi chúng tới nơi lưu trữ dữ liệu để thực thi.
• Behavior mặc định có thể được overwritten bởi mapping
functions đến 1 entity cụ thể
12. 12
II. Stored Prodcedures và EDM (tt)
• Cách tùy chỉnh
• Đầu tiên thực hiện map insert function. Trong cửa
Mapping detail, click <Select Insert Function>. Khi đó có 1
list drop-down sẵn. Lựa chọn InsertPerson.
14. 14
II. Stored Prodcedures và EDM (tt)
• Tiếp theo, map update fuction chọn UpdatePerson store
procedure từ drop-dow list. Hình dưới chỉ ra kết quả
mapping:
15. 15
II. Stored Prodcedures và EDM (tt)
• Cuối cùng, map chức năng delete DeletePerson store
procedure. Màn hình kết quả:
16. 16
II. Stored Prodcedures và EDM (tt)
6. Using functions in queries
• Trong model browser, bạn R_click vào store
procedure SelectPeron=> Add Function Import,
17. 17
II. Stored Prodcedures và EDM (tt)
• Chú ý rằng Add Function Import được đổi tên là Create
Function Import trong ADO.NET 4.0 Entity Framework.
• Dưới đây là thông tin bảng tùy chọn Add Function Import
19. 19
I- POCO ( Plain Old CLR Objects)
1. Đặc điểm:
• PI (Persistence Ignorance).
• Không thừa kế từ bất kỳ lớp nào.
• Không khai báo attribute.
• Serializable.
20. 20
I- POCO ( Plain Old CLR Objects)
2. Lý do sử dụng POCO:
• Tách biệt hoàn toàn giữa code và database.
• Dễ dàng hơn trong việc xây dựng các unit test.
• Việc thực hiện insert, update, delete chỉ đơn giản
với các getters, setters.
21. 21
I- POCO ( Plain Old CLR Objects)
3. Template POCO T4:
• Demo