Personal
Enterprise
Line-of-Business Apps
Personal
Enterprise
Source: Wikipedia
Personal
Enterprise
really complicated or large LOB apps, tools or products
Line-of-Business Apps
When we start coding, we really never know how much or how little our app will be used
Our apps can quickly become a LOB app
LOB apps are really important to businesses
Fundamental architecture is really important
A way to
😎
😄
😄
😄
😄
😟
😄
😄
🤔
😟
😟
😎
😞
😟
😟
😠
more dev teams
Major UX redesign
"I quit",
"Haha, not before I do"
BUGS
😰
🤬
😱
🤮
*Source: Angular Team, Google Analytics, 2018
*Use reactive forms
i.e. Forms*
Refrain from dynamic templates
i.e. Custom Date Input
Highly coupled, convoluted, complicated code
Using Angular features no one has ever heard of before
i.e. Form with date inputs
Code must be easy to read and understand
Stick to Angular basics
So code is stable and easy to maintain
User controls encapsulate complicated code
User controls can be shipped in libraries
User controls can be open sourced
Save time and resources
Composable components
Don't Repeat Yourself
Move behavior to classes
i.e. Hydration, ToJSON, Calculated Properties
Remain stateless and functional
Documents shape of data
Separate internal data shape from external shape
Aim for flat data hierarchy
Pass abstractions, not concretions
Arrays and simple shapes for common objects are okay
i.e. name object, domain-specific object
No string literals in code
No string literals in code
No string literals in code
(3 to about a dozen)
(811 KB)
(2.4 MB)
30 seconds
, module loads 1.6 mins
AngularForEnterprise.com
@duluca
github.com/duluca