开发者

What's a good piece of LAMP-stack source code for a simple blog w/ comments?

Hello I want to create a simple blog where users can post comments, but I don't really want to get into one of the heavier code generators or frameworks like Django or RoR or Wordpress. Reason is I need to learn this stuff from the inside out, given that my project will require a lot of programming "from basics" in the future (since it'll evolve into a specialist finance-oriented site with user-submittable portfolios, which is actually quite a big evolution from a blog, even if the initial structure is similar). I'm an accomplished finance/quant programmer but am fairly new to web development.

What's the best, "lean and mean" piece of source code that might get me started? Something I can easily customize to my own vision?. KISS-principle applies, bu开发者_如何学Pythont I'd like it to do basics like users and authentification and stuff ideally though.

Would prefer pure PHP and/or Python, but am open to suggestions.


You might want so check out web.py as minimalistic 'framework' for webapplications in python. Or sinatrarb in ruby. It should give you a basic start in HTTP, URLs and request handling. Even though the latter is in ruby, the 'framework' itself consist of about 1500 lines of code and is quite readable.

On the php framework side, symphony would be an option.


Here's a php based blog software. http://sourceforge.net/projects/sphpblog/
Should work under any AMP installation.


If you are not looking for totally stand-alone code:

Incidentally, almost every available framework (at least in the PHP world) comes with a "how to create your own blog" example so you actually have a wide selection there. There are a lot of lists and questions regarding the best PHP framework on SO so I'm not opening another list. Check for example this, or this.

Be it PHP, Python or something else, you may find the tool of your choice by browsing through the respective "which framework to use?" topics on SO.


I think Blosxom might meet your needs: http://www.blosxom.com/

Pretty minimalist, and provides comments, authentication, and other features via plug-ins.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜