October 2023 Summaries
4 posts from Liblab
Filter
Month:
Year:
Post Summaries
Back to Blog
We'll be using the NASA APOD API to demonstrate how to add query parameters to a web application, enhancing both user experience and developer experience. The API accepts various parameters, including date, start_date, end_date, and count, with specific constraints on which parameters can be used together. By displaying a dropdown menu for users to select their desired search method and populating the relevant input fields accordingly, we can make this intuitive for the end user. We'll store the user's selection as query parameters in the page's URL, allowing us to easily keep track of their choices and use them to make API calls. The process involves validating the query parameters, using validated values to populate input fields and make API calls, and starting a simple data flow where input by the user updates the query params, which are then used as input for the application itself. This approach enables us to create an intuitive experience while simplifying the development process with an SDK that can generate client libraries in multiple languages.
Oct 23, 2023
902 words in the original blog post.
Embarking on a new software development project can be exciting, but it's crucial to prioritize proper setup over immediately diving into coding to ensure long-term success and maintainability. This includes establishing a code repository with version control, implementing linting tools like ESLint to maintain code quality and uniformity, and using formatting tools such as Prettier to ensure consistent styling. Automated testing is vital to confirm code quality, support refactoring, encourage collaboration, and reduce time spent on debugging, while also enabling continuous integration. By setting up automated workflows for these processes, teams can prevent bypassing essential checks, ultimately improving the velocity and quality of software development. Although writing code is essential, preparation through setup and testing is equally critical to sustaining project momentum and quality throughout its lifecycle.
Oct 16, 2023
2,792 words in the original blog post.
liblab is sponsoring APIWorld 2023, a conference running in-person and online, where attendees can meet liblab experts and learn about how to generate better SDKs for APIs. liblab will be granting early access to everyone at the event, allowing them to skip the queue and receive a high-quality, human-readable SDK for their API. The company's experts will also be on hand to review API specs and provide guidance on best practices for API design. Additionally, liblab will offer demos and sessions showcasing how automated SDK generation can improve developer experience, including a session by Plushcap where they'll discuss the benefits of SDKs over direct API access. Attendees can meet the team, participate in a vote on favorite SDK languages, share their own SDK experiences, and potentially even snap a photo with a llama (in reality, it's just Sean in a costume). liblab has open tickets available for both in-person and virtual events, which can be won by signing up for the beta program.
Oct 09, 2023
755 words in the original blog post.
The author of the text discusses the testing pyramid and its limitations, arguing that it does not provide a balanced approach to testing. Instead, they propose a more nuanced approach where unit tests are used sparingly for isolated logic, integration tests are the general default, and end-to-end (E2E) tests are used to replace manual QA steps and document behavioral decisions. The author also criticizes the test pyramid's emphasis on unit tests, arguing that it leads to wasted effort and unnecessary code duplication. In contrast, a balanced approach prioritizes E2E tests for replacing manual QA, integration tests for general testing, and unit tests only when necessary for isolated logic. This approach aims to maximize the benefits of each type of test while minimizing their drawbacks.
Oct 02, 2023
1,279 words in the original blog post.