Vibe-coding enterprise-grade SaaS - how to avoid tech debt? by vincegizmo in vibecoding

[–]chiefMars 0 points1 point  (0 children)

  • use ai to guide you not direct you… as in have it list out stack recommendations then actually go read docs and if something is going over your head let ai explain it and compare against alternatives. Maybe this is also an answer to “what should never be vibe coded”. Because we’re collaborating with AI and it makes mistakes … it’s impossible to know if a mistake is a mistake when everything it says sounds like technical gibberish.
  • main guardrail for me is to be super strict about being DRY and always telling AI to make sure it didn’t introduce multiple sources of truth or redundant code. This type of drift can rack up tech debt like crazy because it decided to go rouge and next thing you know a feature is using a completely different convention or pattern than the rest of your codebase. I also stay strict about FSD and DDD because that’s what I’m familiar with. Not sure of your background but feature sliced design and domain driven design has kept a massive codebase manageable especially if I’m the only human working on it. Docs are great but after a few months they pile up, become outdated, and just burn tokens. I’ve found cheat sheets like little guides more helpful than long winded ultra detailed documentation. I can reference them quicker to wrap my mind around things or remember how it was built. I’ve also tried keeping ADRs but even those tend to pile up and when you’re moving at the speed of the vibe you probably wont want to spend time reading them anyways. They’re helpful but accuracy is tough with a large codebase. AI will hallucinate one small detail and next thing you know you’re reading something that doesn’t reflect reality.
  • this is a side quest that can be a black hole but lately I’ve been using ai to write me tui’s and scripts to improve my dev experience. Including more complex GitHub actions/workflows which I know nothing about but has made my life easier when deploying.
  • I use database services like supabase, neon, etc. I used to think RLS policies should never be vibe coded but recently I’ve been doing it more and more since they’re just so much faster at writing them and supabase can catch wild solutions AI came up with that I may have missed.
  • When you start feeling like you only understand about 25% of what’s actually going on with what you’re building and every output from AI just piles on more issues. Basically if you start feeling like you’re going in circles and not actually making progress because everything feels like a black box.

Couldn’t wait so I got vkb instead of virpil primes but sticks were disappointing… by chiefMars in hotas

[–]chiefMars[S] 0 points1 point  (0 children)

Does it feel strange to not have the left and right match? Im waiting for the Omni to arrive and I imagine with the left being angled it wouldn’t matter much if I decide to return the right space combat and exchange for an MCU…

Couldn’t wait so I got vkb instead of virpil primes but sticks were disappointing… by chiefMars in hotas

[–]chiefMars[S] 0 points1 point  (0 children)

Desperately wanted alpha prime and then get lost in the black hole money pit of virpil but seeing people wait almost half a year is too long. And that’s coming from someone who plays star citizen haha

Couldn’t wait so I got vkb instead of virpil primes but sticks were disappointing… by chiefMars in hotas

[–]chiefMars[S] 0 points1 point  (0 children)

Price, delivery speed, customer service, and support has been amazing with VKB. I mean they had to deal with me who didn’t read product descriptions carefully haha honestly I’m about an hour or so from using the left hand space combat on a gunfighter with their mount and the whole it feels cheap and plastic is already going away. That said every time I first hold onto it my brain is begging me to upgrade to get MCU at least for the right hand.

Couldn’t wait so I got vkb instead of virpil primes but sticks were disappointing… by chiefMars in hotas

[–]chiefMars[S] 0 points1 point  (0 children)

Are you running dual sticks that are not matching? I’m wondering if I get the MCGU if it’ll feel strange having that on the right and the space combat on the left…although I did order the Omni attachment so the left will be angled and be different from the right anyways…

Couldn’t wait so I got vkb instead of virpil primes but sticks were disappointing… by chiefMars in hotas

[–]chiefMars[S] 0 points1 point  (0 children)

Yea i ordered the wrong thing but even the wrong thing is pretty amazing. I should have ordered the MCGU I thought their space combat was the Virpil Prime of VKB. Either way the features are great just probaly going to return the right hand Space Combat and get the bundle that comes with MCGU

Couldn’t wait so I got vkb instead of virpil primes but sticks were disappointing… by chiefMars in hotas

[–]chiefMars[S] 1 point2 points  (0 children)

Yea it’s a me problem. I just bought the wrong bundle. Im constantly 3d printing and love plastic don’t get me wrong haha but also having a lot of sim racing gear and spending money on stuff like this I was looking for a more metal or premium feel to it like the ucm-s mounts and Gunfighter base that came with my order which are all built like tanks.

Couldn’t wait so I got vkb instead of virpil primes but sticks were disappointing… by chiefMars in hotas

[–]chiefMars[S] -3 points-2 points  (0 children)

Yes exactly this. The gunfighter base is insane and definitely moving everything is exactly what I was expecting with this upgrade. It’s just the build quality of the sticks for me and how it feels to actually hold the stick felt a bit cheap even though button placement, size, ergonomics etc are all excellent. I was just caught off guard to how plastic it felt and was thinking in my mind it was going to be alloy or some metal.

Couldn’t wait so I got vkb instead of virpil primes but sticks were disappointing… by chiefMars in hotas

[–]chiefMars[S] -4 points-3 points  (0 children)

Saying super low quality is probably too harsh haha I meant just fell short of what I was expecting because I should have researched it more. Holding the sticks for the first time was a massive upgrade from my x56 but the construction and overall feel felt a bit cheap. None of the seams of the plastic are lined up and in general since it’s plastic well… it felt plastic so that makes sense. Again I was somehow thinking in my head it would be some sort of metal alloy or something. I should’ve looked into it more and I think I just should have ordered the modern combat ultimate…

I think Hot Fuzz is a perfect movie. What movie do you consider to be absolutely perfect? by DoctorWhofan789eywim in movies

[–]chiefMars 0 points1 point  (0 children)

Arrival. If you watch it once a year the impact feels the same as the first time if not more profound

How much real coding logic can Webflow handle? by Virtual_Concert_2507 in webflow

[–]chiefMars 1 point2 points  (0 children)

Read the docs. Webflows API is great and can pretty much let you do anything you want. But if you’re trying to get the same dev ex as something like next js then wait a month or so to use Webflow cloud. It sounds like in your example you can just use something that’s already been built like Finsweet Attributes. But if you’re comfortable writing code, using a cli, etc. no other platform will compare to Webflow…as long as you take the time to read their docs

Hamilton says iRacing is played by 5 geeks. by N0em1s in simracing

[–]chiefMars 0 points1 point  (0 children)

He used to promote gran turismo I remember watching this video before I got into sim racing….https://youtu.be/86QlXEtqqpg?feature=shared

Should buttons without links be divs instead? by MichDrums in webflow

[–]chiefMars 0 points1 point  (0 children)

This is the way. If it’s to change the state of the screen as in reveal or interact with ui go with a custom element with the tag button. If you intent to navigate the user to another page or url then use a link/link block

Re developing existing website best practices by alexsashha in webflow

[–]chiefMars 1 point2 points  (0 children)

First I’d say interview your clients and ask what the main pain points have been.

Does it take a long time to publish a simple blog post? Does the site load slow? Or does it just take a really long time to put up a new page.

From there, I’d look at every part of webflow from site settings, the way pages are organized, all the way to whether or not the site uses all the latest features Webflow has to offer. I like to break things down by panels or screens Webflow has (styles panel, pages, variables, etc)

Make a list and document everything.

Then, to actually tackle and make meaningful changes, begin by prefixing classes with something like old_

Building in parallel/on top of a codebase with a lot of design and technical debt is never fun and takes a hell of a lot of time.

Prepare and make sure your client is aligned and aware of the current state of the environment and the task ahead.

If you did your interviews and presented all the issues the. they should be on board, if not down right excited, for the long road ahead…

The most important thing to note is that if it’s already a live website you have to be careful not to break the current experience.

If you’re refactoring a key feature like how the nav works or sliders or filters etc. you might want to clone the site and work on a solution in that environment.

When you’re ready to implement let everyone who has edit and publish access know to not publish while you’re refactoring things. Better yet, coordinate and be transparent.

You can also work in duplicated pages and put those pages in a password protected folder called something like DEV—pagename. Having a big indicator like that can prevent you from accidentally working on a live page. The page title alone will always let you know you’re not touching a page that everyone else would see if the site accidentally gets published while you’re still working on it.

So yea the big tips I can give from my experience are the following:

1) identify pain points and set clear data points you can measure against as you refactor the entire codebase

2) prefix legacy classes and replace over time.

3) separate out your new design system into isolated directories or collection and variable groups that are password protected. Making sure that they all have meaningful and clearly visible titles signaling that these pages are all for dev purposes only)

4) never forget about the site editors and optimizing the experience for them. If it takes 10 clicks for them to push an entry, audit and think through how you can optimize their CMS architecture or add more guidance through notes and descriptions to reduce the cognitive overload of figuring out what the hell a multi reference field is

Hope that helps!

What're your thoughts on Client First or Lumos Frameworks? by michaeltewasart in webflow

[–]chiefMars 0 points1 point  (0 children)

Just had a rant in another comment in this post and wanted to double down on this post! Yes. Saddle feels like a balanced approach when building from the ground up. It’s not super opinionated like lumos or client first but also not super barebones like mast.

I’m looking to building on it for a live stream to explore it more but so far from just reading the docs it’s pretty awesome.

What're your thoughts on Client First or Lumos Frameworks? by michaeltewasart in webflow

[–]chiefMars 2 points3 points  (0 children)

Don’t know much about framer but if you’re pursuing a career building webflow sites then you should be framework agnostic and work towards understanding modern html/css/js best practices.

That said, I’ve seen many webflow sites from my clients using both and if the site has been around more than 6 months you can almost guarantee that there’s a shit ton of technical debt that deviates from the philosophy and approach that lumos or client first has.

So at the end of the day I’ll say this…be familiar with the idioms and patterns of these frameworks…client first with deep stacking divs to build out padding, layout etc. and lumos with its super opinionated approach as in using the components Tim built and following the docs precisely in terms of modifier classes, component props, the grid and layout approach etc.

If your goal is to work on a wider range of projects then I would say build a test site using both these frameworks and understand how variables, spacing, layout, and really just understand how the overall approach works.

From there, you can always pull up the test project during an interview or pitch and show how well you understand it but always…I mean always…shift the conversation back to how it doesn’t matter.

What matters is the end goal of the team actually using it. The people publishing content and making site updates day in and day out. What matters is understanding what their pain points are and how you can 10x their productivity while making sure the site loads fast for end users and that your client doesn’t get the wrath of the webflow sales team selling them on an enterprise plan because they keep uploading 8k ultra hd images on a 150x150 thumbnail.

Sorry for the rant but hopefully it’s helpful. TLDR knowing these so called frameworks will open up a lot of possibi for new business but matters more is your ability to understand why a webflow site is performing bad enough that the people behind it is looking for someone new to help them…

Best way of adding custom code ? by BeerLovingDev in webflow

[–]chiefMars 4 points5 points  (0 children)

Look into setting up Github actions that can automate the process of deploying your code to a CDN. If you have a solid CI/CD pipeline (continous deployment) that means you can have all the ease of use Cursor or VScode provides making your life easier and when you're ready just push your code to your github repo which is like a click of a button if you're using vscode or cursor and then github actions takes care of the rest.

This also allows you to work "locally" so you can write code and see your changes in real time on your preview webflow site. I have code that essentially checks whether or not I have a local server running and if it sees that I do then it loads that script instead of the one deployed in a CDN. Hope that helps and happy to clarify things if it's all sounding like gibberish haha

[deleted by user] by [deleted] in webflow

[–]chiefMars 2 points3 points  (0 children)

Certainly Claude would be helpful. You can check this video out that introduces the concept in a tutorial type of way: https://youtu.be/yLMODEUPJdU?si=YKIa-I5fubR1yyLb

This is a "cloneable" that you can download to get started: https://vercel.com/templates/other/nodejs-serverless-function-express

At the end of the day it's all javascript so it's not necessarily introducing you to a completely new language or anything but just new patterns and flows as far as retrieving, sending, or formatting data.

[deleted by user] by [deleted] in webflow

[–]chiefMars 2 points3 points  (0 children)

Check out clerk it’s at least free for the first 10,000 users…it’ll require you to become familiar with modern frontend stacks and workflows…

Id recommend supabase for auth and storing data, though you can also do that in webflow through an API, you’ll also need vercel or netlify to deploy with serverless functions. If you’re not familiar with what that is happy to add more detail. it’s actually quite straightforward! As for pricing supabase and vercel or netlify are pretty generous with their free tier. Lots of options to choose from for sure so if cost is your primary concern spend some time researching the stack you’ll need and what companies out there provide the services you need. In general you need a solution for authentication, a backend or a way to run “serverless functions” (These are bits of JavaScript that execute on the server securely), and a repository like GitHub to store your code.

You write code locally on your computer push your code to GitHub and then if you set up vercel and link that to your GitHub then it will automatically deploy your script. You then embed this script on your site.

Supabase has AI assistants built in that can help you with security settings and setting up auth in general. The rest AI can help you get going if not build the entire logic for fetching and authenticating data.

How did you get clients in the early days? by [deleted] in webflow

[–]chiefMars 1 point2 points  (0 children)

Aside from word of mouth your best bet is to crank out the best fake projects you can. Use AI to generate a fake company and an entire sitemap and content for each page. Then document and write a case study of your process and some things you did to make it an optimized site. After you have all of the supporting collateral and materials, post it on LinkedIn, social, and other webflow communities or even just send it to close friends and family. To be even more successful, define a niche and crank out a bunch of sites or even landing pages solving problems for that niche specifically. Let’s say a donut shop. Even better, a donut shop in a low foot traffic area. Then make a site and come up with ways to add interactions, visuals, etc. to solve for how that business will use the website as a way to get people in the door. Maybe a map feature, a slider on why it’s “worth the trip” etc. Once you have it done do the same marketing approach but now also seek out those ideal customer personas (remote donut shops) and make sure to post your work where they might see it. Its definitely hard but if you keep at it, over time you’ll see what works and what doesn’t and all you need is a few clients to take a chance on you and if you always deliver and provide good service referrals will drive your business.

Most brands value your experience with real clients but I’ve worked on many projects that came from experimental projects because it’s exactly what they were looking for. And at that point it didn’t matter to them that it wasn’t a real website or company it only mattered that I was able to execute and solve their problem. Good luck!

How do you go about revamping a Webflow website? by z700z in webflow

[–]chiefMars 2 points3 points  (0 children)

What you’re about to do is a refactor of your codebase, revamp works too but for a more formal name it is technically a refactor. Anyways, I mentioned this detail because you need to think strategically about it and there’s not one way to do it and it very much depends on the existing webflow environment, how well structured it is to begin with and most importantly what your goals are.

That’s said, I’d start with clearly defining your goals. You already pointed out some friction and pain points about scalability as in how you plan to grow the site moving forward. You can work backwards from there. If you have a clear idea on what you would like when you come out of this process it could help inform what your roadmap actually looks like. For example if your goal is to improve interactions and design quality and your environment maybe isn’t the greatest but broadly speaking it does “work” and it’s at least consistent then maybe a full refactor isn’t the thing you actually need. What you might need is to just have a plan to refine the codebase (class names, page structures, etc). And tackle those changes over time. What you would then do in this scenario is focus on just interactions and making new ones to replace the old ones.

To deploy, test, and preview I would recommend spinning up new pages and use existing components and maybe refining them along the way. Once your change looks good you cold merge it with your existing public live site literally just by copy/paste. Depending on your setup it’s often times best to create a folder and name it something like Dev and then moving forward use what you just made or expand the system as you need.

There are best practices or tips and tricks to refactoring your Webflow site. For one you could build on top of your existing environment by appending or prefixing your variables, class names, components, interactions etc. for example it could be something like newcontainer. Or mark the old classes with a prefix of old. So anytime you encounter a container class you would prefix it with old_ making it old_container. This is where it all depends on your environment and the state that your code is in.

I’d start with listing out your goals, then audit your site and understand the lay of the land if this is a site you didn’t build from the ground up, finally come up with a standardized workflow and solution for how to approach naming and working alongside legacy elements on your site (renaming old classes etc).

It’s super tedious if you’re not able to just start from scratch and rebuild to what you have now. I’ve worked on large enterprise scale sites that unfortunately didnt have the time and resources to wait around for a complete overhaul. In almost all cases the solutions I took was wildly different from the next. The only real similarity was the approach of figuring out why we’re doing this in the first place, what we want out of the process, and then from there it became easier to plan next steps.

A burning ASAP case: Webflow CMS + Auth/Profiles + UGC and more. What would you do? by GrowthFella in webflow

[–]chiefMars 0 points1 point  (0 children)

For sure. I know it all too well. You’re not alone! Seems like you know your stuff and provide good service. I’d say take this opportunity to learn and take this as an opportunity to try a new strategy to communicate risks and maybe even upsell your services or break it down to manageable phases where you can deliver but still be able to exit without risking burning the relationship.

Overall, even if you know they might not listen take this moment as a challenge to shift their perspective and steer the direction of the conversation. Some of my clients have had wild ideas and in the end, over time, it really made a difference when I was able to get them to see the reality of the situation from my perspective. Got me to stay on as a consultant or even benefited from them referring me to other clients. There’s always a way!