This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/source/_posts/building-the-new-phpsw-website.md

38 lines
1.7 KiB
Markdown
Raw Permalink Normal View History

2018-02-28 17:22:57 +00:00
---
title: Building the new PHPSW Website
2020-03-08 14:32:13 +00:00
date: 2018-02-28
excerpt:
Earlier this week we had another hack night, working on the new PHPSW user
group website.
2018-02-28 17:22:57 +00:00
tags:
- phpsw
- symfony
- tailwind-css
2018-02-28 17:22:57 +00:00
has_tweets: true
---
Earlier this week we had another hack night, working on the new [PHPSW user
group][0] website.
2018-02-28 17:22:57 +00:00
<div class="mb-4">
<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">Hacking away on the new <a href="https://twitter.com/phpsw?ref_src=twsrc%5Etfw">@phpsw</a> website with <a href="https://twitter.com/DaveLiddament?ref_src=twsrc%5Etfw">@DaveLiddament</a> and <a href="https://twitter.com/kasiazien?ref_src=twsrc%5Etfw">@kasiazien</a>. <a href="https://t.co/kmfjdQSOUq">pic.twitter.com/kmfjdQSOUq</a></p>&mdash; Oliver Davies (@opdavies) <a href="https://twitter.com/opdavies/status/968224364129906688?ref_src=twsrc%5Etfw">February 26, 2018</a></blockquote>
</div>
Its built with Symfony so its naturally using Twig for templating. Ive become
a big fan of the utility based approach to CSS and [Tailwind CSS][1] in
particular, so Im using that for all of the styling, and using [Webpack
Encore][2] to compile all of the assets.
2018-02-28 17:22:57 +00:00
We have an integration with Meetup.com which were using to pull all of our
previous event data and store them as JSON files for Symfony to parse and
render, which it then uses to generate static HTML to upload onto the server.
2018-02-28 17:22:57 +00:00
Were in the process of populating all of the past data, but look out for a v1
launch soon. In the meantime, feel free to take a peek at our [GitHub
repository][3].
2018-02-28 17:22:57 +00:00
[0]: https://phpsw.uk
[1]: https://tailwindcss.com
[2]: https://github.com/symfony/webpack-encore
[3]: https://github.com/phpsw/phpsw-ng