i recently started developing a new webapp that does some (fancy) comparisons. now that i started the project i had to realize that i messed it up. i just wanted to get started without knowing anything about unobtrusive or progressive coding. in fact i am a pretty bad coder and just start to get things in the right order. i don’t know if this is the right place to ask for insight on this topic, but i will just give it a try, so bear with me, please.
what i am looking for is to get the very basic understanding of how to set up the filestructure for this project and some extra notes from your place, if you don’t mind.
right now it looks like this:
http://www.rewow.de/videostreaming/ (it’s german, but you will get the idea if you click on filters or check the source)
frontpage -> category -> article1 -> article2 -> each article has product-information attached to it, stored in a messy mysql db.
now in kirby i would create
-> frontpage -> category -> article1 -> article2 ... -> filter -> filter1 -> filter2 -> forum -> entry1
this is the way i imagine is no bad practice? having an url for each filter and doing an ajax search query for multiple selects in a php file or something? how would you do it?
now a function that is missing from the current installment is, that i can link from a categorypage to the filterpage and have some filters already active (e.g. “good camera” and “low power consumption”). this would also be solved with the mentioned search query(?).
thank you very very much for your time! i got more questions, but i this would mess the entire post up.
also, if you want to comment on the projects idea itself, you are very welcome!