Problems activating your account? Send notification email to: admin@post4vps.com
Host4Fun Budget VPS Hosting
Poll: Do you recommend the use of Static Website Generators? If yes, which one do you recommend?
Yes. My choice is Jekyll
Yes. My choice is Hugo
Yes. I'm using a different one.
No. I prefer the convenience of a Content Management System.
[Show Results]
 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Do you recommend Static Website Generators - Hugo or Jekyll? Or another one?
#1
I'm totally out of my depth on static website generators.  I am trying to learn more before I jump into it.  How easy is it to do? What are the pros and cons of using a static website generator? Is there any one here who is using a static website generator to generate blogs and blog posts?  Which generator are you using?  Tell us what your experiences are and if you are using a generator, which one you would recommend.

In my researches so far I've come across Hugo and Jekyll via YouTube.  As there are some good tutorials for them there.  Which one of the two would be better suited to a Linux VPS?  If you are using a different static website generator that you think is better for creating blog websites, tell us what your experience has been.

To open the discussion, I've found a YouTube video giving a more entertaining explanation of what static website generators are and what the experience of the user has been:




https://www.youtube.com/watch?v=HxxvzkgaiEo
[Image: 4ax8Kok.png]

Thank you to Post4VPS and VirMach for my super fast VPS 9!
- DH Blog
Reply
#2
@deanhills

That is a nice topic. I know some things owing to my wide grazings through greener pastures. hahaha

What are SSGs ?

 In case of HTML sites, you write each page with code and content and ensure that the design (links, menu, look etc) is uniform. So for every new page, you need to copy-paste a lot of boilerplate codes. Now think of when you change something in design and need to update the boilerplate code on hundreds upon hundreds of pages.

 In case of SSGs, the design part is separated in common files and you do it once. So basically SSGs use templating.

##Very important ##
The static site generator then uses the template definition files and the topic content files and makes all the static pages during deployment time. So when you add new page, you only generate those static pages by SSG but everytime you do some change in design, you need to recreate all the static pages by the generator. Though you do it when you want and not when a viewer requests, as in case of dynamic sites. But this means you have to ensure your update is complete before taking it live, or there might be inconsistencies from user perspective.

When browser requests a page from an SSG site, it gets a couple of static files very fast ( no server side rendering) and renders them on screen.

So in a way, SSGs are like an automated system to copy paste all your boilerplate coomon HTML codes to all of your static pages.

Static Site Generators (SSGs) are a compromise between handcoded HTML CSS sites and CMS or content management systems in an effort to get the benefits from both worlds. What benefits you might ask ?

Well, from HTML coded static site world,

(1) SPEED > html sites don't need access time rendering or compiling. They are static. So they can be distributed to servers or cdn edge servers(called caching*1*check note below) worldwide during deployment and that radically reduces TTFB or time to first byte. When a site is snappy in loading, it contributes greatly in user satisfaction and retention (search for statistics on how load time contributes to site success. It is more important than you might think).
Check this link for a test.
https://gettingthingstech.com/hugo-vs.-w...-its-dust/

*1* Dynamic sites can and often do caching too. In theory they are meant to generate each page when requested by the browser. But to enhance performance and reduce load, they cache many of the pages that change less often and thus configured to cache. When something changes, they just purge the cache and load the new version in cache.

(2) Need less Server resources > Html sites also require much less in terms or resource and so a similar spec server would serve many more simultaneous users when used to host html sites.

(3) Improved security > Highly improved security. Reduced surface of attack due to it being less complex and easier to maintain.

from CMS world,

(4) Easier management of page design and improved readabilty of the topic content files ( debatable ?).

I guess I won't have to explain why every site can not be static. You can not do it with sites showing news or say stock data or anything that involves fast changes and or requires user interactions for obvious reasons. Can Twitter or Facebook be static sites. LMFAO.
Dynamic sites were developed to handle these very things. To establish an efficient way to incorporate fast change in site content.

 Now here are the problems with SSGs.

1) Steep learning curve > You need to be very knowledgeable. A web dev or more. Why ?

For example, these SSGs don't have established ways to check input before rendering. You can not enter whatever you want wherever you want on an wordpress site. It has fields with checks in place.
 You are responsible for everything you write down and you are the one who is making the designs and taking decisions in every case. So you need to know what you are doing.

2) Problem handling fast change and user interaction > Login , content restriction, collaboration, dynamic update are not things handled easily or at all by these sites.

3) Scaling > You can at most handle couple of hundred pages. For sites with thousands of pages, the whole process will just become too much.

Therefore,
If you want to do your small static sites with these, then great !!

I would choose something that uses Go (HUGO) or Javascript(NextJs or Gatsby). Also you might wanna start looking at Netlify (netlify.com) free tier and their docs and also resources at jamstac.org

staticgen.com can be used to find more on SSGs.

THANKS
Good Day !!
Sincere Thanks to Shadow Hosting and post4vps  for my awesome vps4. Also a big thanks to cubedata for the great experience on my previous vps, vps8.
Reply
#3
I would suggest wordpress as an alternative. Why? It is very easy to use, a million themes to choose from and most user questions have been answered before so if theres a problem it can be solved easily, most of the time! I admit this is the first time Ive heard of static website generators but the learning curve sounds scary.
Are these similar to the website generators offered by godaddy and the like?
Reply
#4
If you don't know how to make webpages, use WYSIWYG (stands for What You See Is What You Get), like Adobe Dreamweaver, or Wix.
If you know how to make webpages, make it normally using HTML, CSS, and JavaScript.
If you don't feel like making one yourself, just use a ready webpage from HTML5UP or w3layouts.

It's that simple. I don't see how this would be useful.
Reply
#5
Well i agree with @PacPers, WordPress is very easy to use and have much pretty themes.
Also there is theme generators in some sites like GoDaddy and i think 1&1 have it too, im sure that 1freehosting have one as i was using it on my first website.
@kbartek I don't know about adobe dreamweaver but i know Wix which is a total shit tbh, bad designes and "Made by wix" credits while much sites like mobirise doesn't add the credits
I recommend Mobirise, you just set the design and it gives u html code
Gimme +rep Heart
[Image: img.php?userid=496]
Thanks For Post4VPS and Bladenode for the amazing VPS 6
Reply
#6
Please be reminded that the topic of this thread is:
Quote:Do you recommend Static Website Generators - Hugo or Jekyll? Or another one?

WordPress is NOT a Static Website Generator. Can we please stick with the topic, and particularly Hugo or Jekyll. I would prefer if only members knowledgeable of static Website Generators respond to this topic. If they have used Hugo or Jekyll I would be very grateful if they shared their experiences of using them, and which applications they used them.
[Image: 4ax8Kok.png]

Thank you to Post4VPS and VirMach for my super fast VPS 9!
- DH Blog
Reply
#7
I think I went on this topic before on a different thread. I cannot recommend jekyll more than I can. I have used it, and its so seamless that even I forget about that it exists. It has a huge community support behind it (duh made by github) and the themes and the amount of plugins are there is plenty so you wouldn't need to even worry about that. Its just you set it up once and forget about it. I know most people don't like to use ruby cause the gems can be a pain in arse sometimes but its not totally bad it completely doable and its so lightweight in my machine that you wouldn't even notice it. Unless you have like lots of image to load (even that can be mitigated by the optimization it offers). It can generate and re-generate website on fly so you change a file and boom its live next time you refresh your website. Overall, jekyll was a pleasure to use and I would even use it to this day.
No one knows what the future holds, that's why its potential is infinite
Reply
 


Possibly Related Threads...
Thread Author Replies Views Last Post
  Automatically reduce the size of photos on the website huuthi95 3 508 12-15-2018, 02:47 PM
Last Post: Honey
  My client's website that I made for FREE Manal 19 1,428 11-26-2018, 06:33 PM
Last Post: KGIII
  lets make a website together. perryoo11 5 862 09-19-2018, 10:42 AM
Last Post: perryoo11
  How To Install a Script on Your Website Hero^ 8 3,295 01-14-2018, 08:28 AM
Last Post: TimeRider
  What do you think about my website? kubanek_kuba 4 2,010 04-28-2016, 12:47 AM
Last Post: meetdilip

Forum Jump:


Users browsing this thread: 1 Guest(s)

Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - SSDBlaze - VPSlices - Abc-Hosters - Hyper Expert - Shadow Hosting - Bladenode - HostDoc - Hostlease


About Post4VPS

Post4VPS is a forum/destiny where you can Delploy Your Free VPSs just by the Power of Posts.

We Provide VPSs of many locations like Germany,US,Canada,France,London,etc.

We also Provide VPSs of Both Linux and Windows OS.