Hello Everyone. This blog post is about my new blog design and the technology used to built it. The site is built around the idea of no active database like MySQL or PGSQL. I use git feature for my editing needs, branching for new article and merging when completed. The hosting is done on AWS for a more scalable environment.

The site is built in PHP and uses silex as the framework. The articles meta data is stored in an array which is used to map all the diferent URLs. Creating a static page is made by coding the route manually. Each route uses the twig component to display the content of the site, which extends the master template layout.html.twig. All static assets, (CSS, Images, Javascript) are stored on Amazon Web Service (AWS) - S3. I also use AWS CloudFront as the main Content Distribution Network.

The site is meant for future blog how-tos and articles, but also as a super fast canva for easy demoing of PHP code. You can go over at GitHub ncareau/nmc-lab.com to see the source of the site. Any feedback or suggestion is appreciated.

comments powered by Disqus