Form Validation with Type Inference Made Easy with Zod, the Best Sidekick for TypeScript
Tighten Blog
by Nico Devs, Nico Devs
3w ago
Server-side validation is a must, but client-side validation is also crucial: when a user attempts to submit a form, providing instant feedback and highlighting the fields with invalid data can be an invaluable guide to help them get things done. There are many ways to handle front-end validation, from adding standard HTML attributes to our inputs (like required and min) to writing our own validation functions. Today, let's explore Zod: a library that can help us validate data not only on the client but also on the server, and even generate TypeScript types to maintain end-to-end type safety a ..read more
Visit website
Husky: How to automatically format, lint and test before you commit or push
Tighten Blog
by Nico Devs, Nico Devs
1M ago
When a team works on a project, keeping the codebase up to coding standards might be challenging. Perhaps a team member submits code that deviates from the established coding style, or you make a commit fixing a component but unintentionally breaking another. What can we do to mitigate these risks? We can leverage several command-line tools to safeguard the quality of the codebase even before changes are merged into the repository: Formatters automatically correct the coding style, ensuring consistency across the entire codebase. Linters analyze the code to detect and fix issues, enforce best ..read more
Visit website
State management in Vue 3: Why you should try out Pinia
Tighten Blog
by Nico Devs, Nico Devs
2M ago
They say there are two difficult things in programming: naming things and cache invalidation. I would add one more to the list: state management in modern web applications! Today, we'll delve into state management strategies in Vue and introduce Pinia, the intuitive store. Vue state management: gotchas and limitations Since the days of Vue 2, we have used the data option to define a method that returns an object containing all the reactive variables our component needs. <template> <div>{{ user.name }}</div> <template>   <script> export default ..read more
Visit website
Nuxt: Superpowers for your Vue 3 application
Tighten Blog
by Nico Devs, Nico Devs
4M ago
Are you searching for a way to enhance the speed of your Vue application development? Let me introduce you to Nuxt, a framework for constructing Vue applications. Initially envisioned as a counterpart to Next.js within the realm of React (hence the similarity in names), Nuxt has evolved to such an extent that it now stands out for its distinctive merits and an impressive array of features. What are these features? Why should you choose Nuxt for your project instead of simply creating a Vue application? Today, I'll answer these questions by exploring some (just some!) of the powerful tools this ..read more
Visit website
Caching Strategies In Laravel: An overview of the best ways to add caching to the slow spots of an application
Tighten Blog
by Jamison Valenta, Jamison Valenta
5M ago
I think of caching as one of those double-edged swords in PHP application development. On one hand, caching strategies can offer considerable gains in performance. On the other hand, those gains may be at the cost of increased complexity within the codebase or infrastructure. Plus, there is always the threat that caching is providing out-of-date data. When we think about the risk versus reward when it comes to caching, I recommend making considerate choices to ensure a successful payoff. The right caching choices have everything to do with your infrastructure, your skill set, and what your app ..read more
Visit website
Why Agility–not Agile–is the Best Tool for Project Management
Tighten Blog
by Matt Stauffer, Matt Stauffer
9M ago
As you search for a development partner to bring your company’s application to life, it’s important to evaluate not just a potential partner’s ability to code, but their ability to run and deliver projects. You already know you need expert support in the actual coding of your app–that’s why you’re reaching out to a development partner. But in the face of challenges like aggressive deadlines, stakeholder expectations, and pressure from investors, you also need a partner who knows how to structure a project and run a development team in a way that delivers results. There are a many ways to organ ..read more
Visit website
What Makes A Code Audit Effective?
Tighten Blog
by Dan Sheetz, Dan Sheetz; Matt Stauffer, Matt Stauffer
11M ago
At certain points in the evolution of any software, it’s important to get a set of expert eyes on its codebase. Maybe you’re a founder and you built this app as you were learning to code, and you’ve always known you’d want experts to review your decisions. Maybe you’re concerned with the code you inherited from a previous team or offshore contractors. Or maybe you have an active development team, and you’re reading this thinking, “I’ve got a team of experts; why can’t they just audit their own work?” Why Should You Conduct a Code Audit? Regardless of your current situation, there are many reas ..read more
Visit website
Five Ways Automated Testing Catches Issues Humans Can’t
Tighten Blog
by Matt Stauffer, Matt Stauffer
11M ago
At Tighten, we write custom web applications. And, like all software, they sometimes have bugs, glitches, and unexpected behavior. Programmers, technical leads, and project managers always test our applications by hand as we write them. Write a feature, try the feature out in the browser, make sure it works the way we want. Usually our clients do too—if you’re paying to have software built for you, you’ll usually test how it works when it’s delivered. But this manual testing only covers a small portion of the things that need to be tested in our web apps. And if we don’t have full coverage, th ..read more
Visit website
The Most Successful Software Projects Have One Thing In Common: A Clear Project Purpose Statement
Tighten Blog
by Dan Sheetz, Dan Sheetz
11M ago
Most software projects fail. There are plenty of reasons (excuses?) as to why this is the case. The most common predictor of failure in software projects is a lack of alignment between the development team’s efforts and the purpose of the project. This is where a project purpose statement comes in. It’s not enough for your team to know the general idea of the project, or the laundry-list of expected features. Your software project needs a clear, succinct statement to direct everyone’s effort. A good project purpose statement is a concise, repeatable mantra that states the ultimate reason your ..read more
Visit website
How to Choose the Right Software Development Agency
Tighten Blog
by Dan Sheetz, Dan Sheetz
1y ago
The hardest part of building a web app for your nonprofit organization can be the first step: figuring out who is going to build it. There are a few routes you can take: build out your own robust team of developers (expensive), hire a variety of contractors to augment your staff (risky), or engage an agency to get it done (we’re biased, but we think this is the best option). Finding the right agency isn’t as cut-and-dried as finding someone available that meets your budget. Those are two extremely important factors, but there are many more to consider. In our guide on how to search for and fin ..read more
Visit website

Follow Tighten Blog on FeedSpot

Continue with Google
Continue with Apple
OR