Not that any of these are areas that are not important to know as somebody who is doing web development professionally. But for spare-time projects you have to be careful that you do not run out of time, which is exactly what happened to me. Especially for the styling of the page I did not invest as much time as I would have needed. I started from plain html and did all of styling my myself. I read a lot about the box model and how to apply CSS correctly. Unfortunately only the basic structure was finished before I ran out of time so I published the page with nearly no styling for the content. And that's how it stayed for 3 1/2 years ...
Recently I invested some time in it again. I ported the layout to use the YAML framework with its standard design and reorganized the structure of the content. Also, while at it, I updated from OpenCms 7.0.2 to OpenCms 7.5.2. In nearly no time the site was in a much better state than before without having to fight several browsers.
The main things I should have done from the beginning:
- Use a CSS framework or a ready made template unless you're willing to invest a lot of time
- Take extra care when structuring the content in OpenCms. Do not nest too deep if it's not necessary.
- Use a source code versioning system even if you're not planning to have a huge project
Things that worked well during the relaunch:
- Groovy is a nice tool to migrate content from one schema type to the other
- YAML and its YAML-Builder are really easy to use
- Apache is configured in no time using Sebastians excellent tutorial
There's still a lot of work to do: Some pages still use tables for layouting which especially doesn't work well anymore when using yaml as it highlights cells when hovering. Also, I'm planning to add a contact form using Ruby on Rails. Of course this could be easily done using Alkacon Webform but that's a good opportunity to learn a new technology.
At least SEO-wise the site seems to be OK: We are beating the famous singer as well as the bavarian wheat beer company with the same name :)
About Florian Hopf
I am working as a freelance software developer and consultant in Karlsruhe, Germany and have written a German book about Elasticsearch. If you liked this post you can follow me on Twitter or subscribe to my feed to get notified of new posts. If you think I could help you and your company and you'd like to work with me please contact me directly.
Keine Kommentare:
Kommentar veröffentlichen