-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace Jekyll (ruby) engine with Phenomic (JavaScript/React/Webpack) #13
Conversation
Wow! That was a lot of work dude! Great work. I'm personally in favor of this change. But I haven't contributed much so my vote doesn't count for much. |
@MoOx @kentcdodds this rocks! and I'm really excited to switch our site over to something in pure JavaScript. I'm on a quick vacation in NYC (i know right!), so will play with things more shortly. A few initial comments:
@MoOx I really appreciate this work, and am excited to showcase Phenomic. |
I deployed @MoOx work here https://istanbul.surge.sh in case you want to check it out (and too lazy to build it locally) |
|
@MoOx try language": "node_js", |
According to #1, you were looking for a nice platform to make a website. Jekyll is imo outdated. The HTML approach has its benefit, but also a lot of downside. And since istanbul/nyc are JavaScript project, what about making this website with JavaScript? @kentcdodds said everything I think here #1 (comment) -233218919 So here is a commit to replace Jekyll by Phenomic. Why Phenomic? Here is my answer :) #1 (comment) -233230716 Here is a “Getting Started” page that might help you starting with Phenomic https://phenomic.io/docs/getting-started/. If there is not enough things, feel free to reach us on the community chat https://gitter.im/MoOx/phenomic ## Benefits - Modern JavaScript (Babel) and CSS (PostCSS + cssnext) - Webpack: all assets are tracked. No missing background image or things like that. - Component approach thanks to React. You build your website with lego blocks. - CSS Modules. No more global styles! (well there is some but just a bit) - Awesome developer/writer experience: HOT LOADING (no full page refresh needed, just work on a file and save it: BOOM auto partial reload!) - Client side navigation when JS is on: no full page refresh! (If JS is off, no problem, HTML pages are generated during deploy) ### Possibilities - OFFLINE support. You can offer offline via AppCache (legacy solution) or ServiceWorker (require HTTPS). Latest is recommended and can be activated via a flag -Live search (sort of built-in will be added soon, feel free to track MoOx/phenomic#142 - it’s already possible, but require some boilerplate - some people already implemented it on their websites) ## Minor changes (that can be reverted/changed anyway) - Tutorials are not “posts”, but real simple pages - Website is now responsive :) - Phenomic default boilerplate provide system font, which I think is a good thing https://medium.design/system-shock-6b1dc6d6596f#.yupv0c7mu - Reference to Phenomic in the footer - I added a link to github org in the header, I found this was missing - I added a Blog section in the header, hidden on production for now since blog entries are dumb :) ## Downside - No native integration with Github Pages, so you will need to follow some instructions to setup auto deploy via Travis (don’t worry, this is very easy https://phenomic.io/docs/usage/gh-pages/)
Haha all my projects have "language: node". I learned a thing today :D |
So tests are passing! |
@MoOx thanks for the hard work. this is now in production, and Travis is setup to automatically deploy. |
Cool, I will add this on the Showcase page :) |
According to #1, you were looking for a nice platform to make a website.
Jekyll is imo outdated. The HTML approach has its benefit, but also a lot of downside.
And since istanbul/nyc are JavaScript project, what about making this website with JavaScript? @kentcdodds said everything I think here #1 (comment)
So here is a commit to replace Jekyll by Phenomic. Why Phenomic?
Here is my answer :)
#1 (comment)
Here is a “Getting Started” page that might help you starting with Phenomic https://phenomic.io/docs/getting-started/.
If there is not enough things, feel free to reach us on the community chat https://gitter.im/MoOx/phenomic
Benefits
things like that.
blocks: layouts & partials are just React components.
bit)
refresh needed, just work on a file and save it: BOOM auto partial
reload!)
off, no problem, HTML pages are generated during deploy)
Possibilities
or ServiceWorker (require HTTPS). Latest is recommended and can be
activated via a flag
Add Search capabilities MoOx/phenomic#142 - it’s already possible,
but require some boilerplate - some people already implemented it on
their websites)
Minor changes (that can be reverted/changed anyway)
good thing https://medium.design/system-shock-6b1dc6d6596f#.yupv0c7mu
since blog entries are dumb :)
Downside
some instructions to setup auto deploy via Travis (don’t worry, this is
very easy https://phenomic.io/docs/usage/gh-pages/)
Screenshots
This PR is probably just a start, discussion is open :)
Feel free to ask me anything. Phenomic is still young, but if you have any requirements that cannot be implemented atm, I will be more than happy to help :)