TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Dear HN — if php blogging platforms are junk, what do you suggest?

6 点作者 biturd大约 11 年前
Wordpress is too heavy. I think many want a very lightweight blog engine. They are just one step ahead of the curve in they don&#x27;t want a shared solution because they want to control their own data. I don&#x27;t trust my blog on tumbler or similar, they may take it down.<p>Requirements: * portable, leaning me to think php is the easiest and most host friendly for free&#x2F;cheap * easy install * no database for served files, fine for interim writing and working, SQLite for ease I would guess * markdown * template to make it look nice * basic ability to add analytics, SEO, etc * dashboard, stats. * ability to take to pretty much any host * handle a few hundred thousand uniques a day and don&#x27;t have to worry, so HN&#x2F;reddit can hit it without trouble. Do this on Apache without a CDN etc. * maybe even work on S3 or a free Amazon instance. Good learning experience to get others to learn the AWS system controls.<p>Ghost was suggested here the other day. I looked at it and saw it was all node and JS. I knew I was I for a server side config night of fun.<p>Another was posted yesterday and was semi-bashed because it was php.<p>So what do you suggest?<p>I know there&#x27;s lists and lists, but installing and testing to have them fall on your face is no fun. Some have zero pull requests&#x2F;downloads.<p>Looking for a &quot;I stand by experience&quot; recommendation. And to be honest, I think done right, php is an excellent language for this. Simple blog, content is king, ability to grow into a full fledged business if your writing is that good.<p>Suggestions?

9 条评论

sadanapalli大约 11 年前
I would suggest Octopress&#x2F;Jekyll framework to serve static web pages from a VPS such as DigitalOcean&#x2F;linode. You may as well use Github Pages to host your web pages if that meets your needs.<p>This will meet many of your needs listed.
评论 #7346800 未加载
nikdaheratik大约 11 年前
I don&#x27;t think there is a blog that can be described as both &quot;lightweight&quot; and support all of the features you&#x27;ve listed.<p>I use a PHP framework (li3) in my day job, but the framework that seemed to fit my blogging needs the most was Django, and even that is &quot;heavy&quot; compared to Wordpress, which is already configured and installed for a lot of ISPs.<p>I get what you&#x27;re saying about Wordpress. I moved away from it because I wanted the ability to fine tune the look of the blog and not be stuck with their database structure.<p>However, the best approach, if you&#x27;re not wanting to learn a whole new framework, would be to find an ISP you&#x27;re comfortable with that ticks most of those boxes as far as analytics goes. Then use some kind of static blog system to take your text and turn it into HTML. Unless it&#x27;s super obscure, the language does matter as much if you&#x27;re using a static system. Just configure it the way you want and post the HTML that it creates from your files. And as long as you&#x27;ve structured the documents well, moving back to a dynamic blogging system later on isn&#x27;t going to be that tough.
Clorith大约 11 年前
I&#x27;ll bite. What makes WordPress too heavy in your regard (I&#x27;m a huge fan of WordPress my self, so quite biased), is it the way you use it, or the themes you use?<p>At it&#x27;s base, WordPress is quite simple, and it&#x27;s the themes that define what it looks like and feels like to your users. If you are looking for something very simple then there&#x27;s the simple twenty twelve theme which is very clean. The theme directory on wordpress.org is also full of themes, there&#x27;s even a plugin that transforms your WordPress into &quot;Ghost&quot; (The same feel and layout).<p>But I would love to hear back on my original question as well regarding it being heavy.
评论 #7346359 未加载
mcintyre1994大约 11 年前
You&#x27;ve said WordPress takes too long to set up, so to manage your expectations I&#x27;d probably start by claiming nothing will satisfy all your requirements. That said, what about a static blog generator? HTML is uber portable, hosts anywhere, no install, no database, I think most generate from markdown, use any template, SEO is kinda missing but just follow best practices - and you&#x27;ll be fast which is a benefit there, dashboard&#x2F;stats is missing, can you make do with something over log files and GA?<p>You said you think PHP is right for this, but why do you need that much power?
MattBearman大约 11 年前
It sounds like you want Jekyll, but in PHP.<p>I actually starting building just that, it was called LiME (<a href="https://github.com/mattbearman/lime" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mattbearman&#x2F;lime</a>) - although I&#x27;d never actually used Jekyll at the time, I just knew the theory behind it.<p>Not long after I pushed v0.2 I switched to Ruby&#x2F;Rails, stopped working in PHP, and LiME has sat stagnant ever since.<p>Still, it worked fine, although didn&#x27;t have all the features of Jekyll, I&#x27;d love for someone to take it over.
pestaa大约 11 年前
You are in analysis paralysis. There will be no perfect solution. If you think WordPress is heavy, you never really had serious requirements for content management anyway. My suggestion? Stick with what you know.
评论 #7346886 未加载
workhere-io大约 11 年前
WordPress is not heavy when you use one of the many caching plugins.<p>SQLite should not be your go-to database if you want to handle &quot;a few hundred thousand uniques a day&quot;. PostgreSQL or MySQL are much better for that purpose.<p>While some of the core WordPress code is terrible, WordPress is still pretty much the leader when it comes to usability and time-to-market. My recommendation: WordPress plus a caching plugin.
MichaelStubbs大约 11 年前
I site with the static blog generator crowd. I&#x27;ve not heard of anything that would meet all of your requirements but my favourite static blog generator, Pelican, would come pretty close.<p><a href="http://blog.getpelican.com/" rel="nofollow">http:&#x2F;&#x2F;blog.getpelican.com&#x2F;</a>
bliti大约 11 年前
I don&#x27;t see what the deals with not using WP is. Its proven, reliable, fairly secure, simple to install, and easy to extend via plug-ins. Who cares if it has some crappy PHP in it? It works, and gets the job done right.