3 ms·
I'd install and setup CakePHP to run off the public_html folder of my domain name in apache in my web host or server. Keeping in mind what I was trying to acco
by vlad 19y ago
I'd install and setup CakePHP to run off the public_html folder of my domain name in apache in my web host or server.
Keeping in mind what I was trying to accomplish, I'd show the article at domain.com/wiki/(article_name) if it existed in the database, or an error message if it wasn't found, with a link to create the new page. There would also be a link on top to edit the current page which would lead to a similar form. The form would allow you to save any changes you made.
I think that's the essense of Wikipedia and likely all it had in its first release.
With enough articles, you'd figure you'd need to write a search. With enough vandalism, you'd want to have banning and a versioning system. With a lot of traffic, you'd find a way to make it scale. After becoming an established leader, you could finally force users to register before contributing. You'd want to suggest articles if the user comes to the not-found page.
You'd figure it out as you went along.
Wikipedia didn't have versioning, user accounts, informational messages, spam catching, caching, multiple servers, multiple language support in its first releases.
- run4yourlives 19y ago>I'd install and setup CakePHP to run off the public_html folder of my domain name in apache in my web host or server. That's awesome. No seriously it is. It answered his question in such a concise yet thoughtful way. I hope he gets what you're saying though.