Mobile APIs are a common target for attempting to exploit a web server, and there are typically many layers of security built into a web infrastructure. We will discuss how an application server can determine that requests are coming from a legitimate source, in this case a trusted mobile app running on a mobile device.
Getting an accurate budget estimate for a software project isn’t easy. It’s hard to say exactly how long it will take and what it will cost before doing the coding. Poor budget planning often results in unexpected overruns or a need to cut the project back to fit the available funds. In the worst case, a project fails because there isn’t enough money to bring it to completion.
Conditional rendering in React is pretty straightforward and we do it everywhere. In some cases, though, a tiny abstraction can clean up our code and keep us from repeating ourselves. Here’s a simple Higher Order Component (HOC) for conditionally rendering a component or fragment if-and-only-if it has children.
There are a few people in my life that have dramatically changed the direction of my career and personal adventures. I don’t think I ever formally called these people ‘mentors,’ but that is exactly what they were. Sometimes they gave me direct feedback and because I asked for it. Other times, they communicated insights because they cared about me and they knew I needed to hear their thoughtful encouragement and observations. These mentors also opened doors and created opportunities for me through their networks and influence, and my life would not be the same without them.
A positive user experience is the goal of every software design project, but what it means depends on the customer. There isn’t a one-size-fits-all positive UX. An approach which is ideal for one user base can be insulting or bewildering to a different group. The right UX for a product depends on the customer’s business needs, the way the software will be used, and the user base.
Outside Covid, polarizing elections, economic collapse, and civil war, 2020 was mostly a good year. Now the New Year is with us, at last.
This has always been a period of reflection and planning, that part of each year where you promise yourself to lose weight and become more productive. This not only applies to you and me as humans but also to corporations and companies across the board.
Apex leaves much to be desired when it comes to mocking callouts to external services. Use of the HttpCalloutMock interface requires that a test author configure mock responses for ALL callouts made through the course of a test’s processing, and this can be quite unmanageable in large or complex projects. There must be a better way… Enter the HTTP Mock Registry.
Frustrated with messy tests and abstraction leaks, we’ve devised a utility that provides a intuitive interface for mocking callouts declaratively as well as a foundation for more modular test suites whenever callouts are involved.
When developing using an SFDX Package Development Model there may be situations where valid code generates an error. We’ll take one small Apex/SOQL example today and use a simple workaround to get this code into the package.
While it’s nice that the Lightning Framework provides a way for Aura components to invoke Apex methods, the code required is a bit verbose. We can do better.
Being able to invoke methods and pass data between parent and child components is critical when building an application structure that is both extensible and easy to use.
One of the basic features of Lightning Aura components is the ability to nest components (components containing other components). Communicating from a Parent Component to a Child Component is easy with Aura.