After making almost 100 controllers for one system, we’ve established a standardized method for controllers. It’s not complex or exciting, but it’s saved us enough time that we decided to keep it on our site.
Designing Web Content for Accessibility (WCAG)
Making web content accessible to people with disabilities improves accessibility for everyone. Creating accessible web pages can improve search engine page rankings that make content easier for all citizens to locate and use. From a business perspective, we need to ensure that systems are acceptable for government and corporate clients. A lack of Accessibility compliance can cause the entire project be dismissed, or alternatively, a less complex site may have an advantage due to its Accessibility.
Angular Factories with TypeScript
To make our code as easy to maintain as possible, we keep all data interactions in modules called Factories. Most of our factory files have about 10 or 12 callback functions and we try to keep them pretty simple. Moving them to typescript wasn’t very intuitive at first, but once we figured it out, it is a no-brainer.
Here’s a basic sample that we used to get a list of offices from the api server. You can add as many functions as you want.
- « Previous Page
- 1
- …
- 14
- 15
- 16
- 17
- 18
- …
- 24
- Next Page »