This is a good start. As a foodie who loves to cook and software engineer, I strongly dislike the bloated recipe sites and I have my own mini-site where I share my recipes with friends. Some ideas to consider, based on my experience building my own Hugo-based static recipe site: - Search: I decided to use Azure Search because of the flexibility it provides (cost is minimal and covered by my free Visual Studio subscri…
+1 for microformats. OP, please take a look at https://microformats.org/wiki/h-recipe and others will be able to make it sharing and integrating with their own software a lot easier.
Show HN: Recipe search engine, built in vanilla PHP
61–63 of 63 posts
Re: Show HN: Recipe search engine, built in vanilla PHP
#62Curious. I built a site in Vanilla PHP that lives solely on my laptop for now, for much the same reason. The reason it's not live to the world is that I couldn't find anything considered "best practice" for secure user authentication, password management, etc. and put off the project for a time when I can learn a framework that has that problem solved. Frameworks are daunting though. How did you approach the user man…
So I just used basic PHP to build each feature one by one. I wrote out the user flow: Register > Login > Post Recipe > View Feed > View Recipe > Search. Then just tackled them one day at a time. When I looked at existing user authentication systems, there were so many features/options that my head spun. Maybe Im naiive, but I didnt think I needed all of them. I just wanted to put an email + pw + username in a database. Then send an email(with randomly generated code) to activate the account. Then made a Login page with simple sql query to validate email + pw was correct. It seems too simple to work, but if there's any problems Ill just deal with it later. Im actually thinking of removing pw altogether and just going with magiclink.
Basically, what Im trying to say is, just make it the way it makes sense in your mind, in the simplest way. Otherwise, youll be waiting forever before you build something real. Just like everything else in life, things are overcomplicated. Were just making websites arent we? Whether its PHP or Ruby or JS or xyz framework, it all just spits out html. Hope this helps!