Total Pageviews

Friday, 10 April 2026

美国的反华风潮正悄悄被另一股风潮取代,犹太集团的噩梦来了

 

-彻底揭露了犹太人集团操纵美国的黑幕。据说当年的肯尼迪总统有可能是被以色列特工干掉的,因为当年的肯尼迪总统并不赞成无条件地支持以色列。

https://drive.google.com/file/d/1urN-E1dJ5-l8PmyL9VA8zgO5RCn5YmlS/view

Thursday, 9 April 2026

一个php框架silex

 

This is an introduction to my choice of framework in building this website.

Several options I considered for my website:

  • Django
    • Django's opinionated Model model with its strong database ties seemed a bit much for a relatively static site
    • It's huge and unnecessarily complicated for a simple website
    • It would be a great learning experience in Python
  • Vanilla PHP
    • I have a lot of experience in vanilla PHP at my internship at Northern Michigan University working in the Information Services department where I develop web applications for internal use.
    • I often find myself frustrated with PHP's quirkiness and wouldn't learn new material if I used this for my personal website.
  • Silex
    • This is a micro-framework built using components of the much larger Symfony framework.
    • I discovered Silex in Heroku's PHP deployment guide where I noticed that it was small enough to not draw unneeded overhead and extensible enough for my website to grow as it needed.

I opted to go with Silex. The source code is available here for your perusal.

I have gone through many iterations of this site. The first version was simply a clone of the homepage that I have on my university's computer science department server. This wasn't a very useful homepage as many of the projects that I wanted to show in a portfolio were tied to a database on that server.

I eventually moved towards a one-page style layout (in this commit) where the links in the navbar would scroll the page to pre-defined regions. I then ditched the old multipage layout and at this point I discovered Grav. After difficulties integrating Grav within my app (read more here), I decided to roll my own blogging solution modeled after Grav's markdown content system.

I included a YAML Front Matter + Markdown Parser and used that to define the metadata for a blogpost.

There is still much to do (post sort order, paging, tagging, etc), but I appreciate the experience that I have gained in building this blogging system.

网站的源代码: https://github.com/benharri/benhh.com

from  https://benhh.bhh.sh/blog/silex/

cms汇总

 https://en.wikipedia.org/wiki/List_of_content_management_systems

 其中无需数据库的cms有:

 https://en.wikipedia.org/wiki/Blosxom

 https://en.wikipedia.org/wiki/CMSimple

 https://en.wikipedia.org/wiki/DokuWiki

 https://en.wikipedia.org/wiki/Foswiki

 https://en.wikipedia.org/wiki/GetSimple_CMS

 https://en.wikipedia.org/wiki/Grav_(CMS)

 https://en.wikipedia.org/wiki/Ikiwiki

 https://en.wikipedia.org/wiki/MoinMoin (基于python)

 https://en.wikipedia.org/wiki/PhpWiki

 https://en.wikipedia.org/wiki/PmWiki

 https://en.wikipedia.org/wiki/Sellerdeck

 https://en.wikipedia.org/wiki/TiddlyWiki (基于nodejs)

 https://en.wikipedia.org/wiki/TWiki

 

Wednesday, 8 April 2026