Jump to content

Nilson's Blogger


nilson

Recommended Posts

Nilson's Blogger is a well-featured, open-source, PHP blogger. It requires no database, only a webserver and PHP 4+.Nilson's Blogger started as a single .php file that updated a webpage with new posts. The very early versions were never released, and the first released version was 0.3. Over a few months, Nilson's Blogger has evolved into a program that supports templates, themes, (partial) localization, and comments.The code is released under my own lisence, which can be found in the README.txt file. Basically, you can modiy it all you want, but before you use ANY code from Nilson's Blogger in another script or program, you must first e-mail me for permission (which is almost always granted) and you must include a comment in the new program that tells where you got the code.The newest release is called Nilson's Blogger 0.8 cooker1. Cooker releases are prereleases, and may not include all the features that will be present in the final release. Releases are done on a schedule similar to:releasecookercookerrelease(the number of cookers may vary)You may preview the way Nilson's Blogger 0.8 cooker1 looks at http://nilsonscorner.dyndns.org/cooker/.The download for Nilson's Blogger 0.8 cooker1 at http://home.earthlink.net/~builds/nilsonsb...r08-cooker1.zipLet me know how you like it ;)

Link to comment
Share on other sites

Nilson's Blogger 0.8: http://home.earthlink.net/~builds/nilsonsblogger08.zipIncludes the following improvements over 0.7:1. Stlyesheet supgraded / new style2. Automatic smiley insertion3. Option to disable comments in config4. 'Page rendered in xx seconds' appears on pages5. You can no longer post without title, name and content (comments and blog entries)6. Other various bugs fixed

Link to comment
Share on other sites

0.9 will feature a bit of a re-design of the backend. Index.php is now "modal" (you pass arguments to tell it what to display). You can access index.php?mode=post to create a blog entry, index.php?mode=edit to edit a post, index.php?mode=comment to add a comment, etcetera. Also, all of the *handler.php files are merged into a single file, core.php. This reduces the number of files needed to be accessed/included, and has increased performance of each page by about 5-10 thousandths of a second. Not a big improvement, but at least it's an improvement :DCheck it out here: http://nilsonscorner.dyndns.org/cooker/newarragement. This site may not always be online; it's only there when I'm online.I'm going to do serveral tests, to see what gives best performance. I think the modal index is slowing `er down a bit, so I may use separate files for that, but I do beleive that the integrating of all the 'handler' files into core.php has improved speed, as pages now only have to include one file to access all of the functions.

Link to comment
Share on other sites

Some benchmark results:The blog page has eight entries on it. Using PHP 4.3.4RC2/Apache2.0.47

Page render times of Nilson's Blogger.  Times are in seconds.http://localhost/cooker/ -Initial Load Time:     0.215 -Second load (refresh): 0.018 -Third load (refresh):  0.015 -Fourth load (refresh): 0.017 -Fifth load (refresh):  0.016 -Average Load time:     0.0562http://localhost/cooker/modal/ -Initial Load Time:     0.078 -Second load (refresh): 0.026 -Third load (refresh):  0.015 -Fourth load (refresh): 0.018 -Fifth load (refresh):  0.017 -Average Load time:     0.0308

Conclusion: modal is definately faster.

Link to comment
Share on other sites

Guest LilBambi

Cool nilson!Every little bit of speed one can get from a server side service makes it better in the long run.Will wait till you are online again to go check it out.

Link to comment
Share on other sites

Hmm... It is looking now like the option with separate files is faster. I didn't think the initial load time was right before. It makes sense that the all-in-one core will speed it up because less files are needed to be included, but an all-in-one index is bound to slow down the server because there is a larger file that needs to be parsed while only a portion of it is used.Don't worry, though - 0.9 will come with the fastest possible arrangement of code :lol:

Link to comment
Share on other sites

Guest LilBambi

Hi nilson,Yes, the separate files one is twice as fast (well almost anyway)!They both are pretty fast though:.13 and .14 secs for separate filespoint twenty something secs and .31 secs for the modal linkLooking good! :lol:

Link to comment
Share on other sites

Lookin good Nilson! Glad i could finally catch it when your online!Is that the layout from bluerobot? I think it's the same one my site is based on :)Looking at your spanish congegation for tener, i think it's a little off. (Unless you are doing it for a dialect that doesn't use vosotros, i know there are places that do that. But anyway, here's the full chart :lol:)

yo tengo               nosotros tenemostu teines                vosotros tenéisel/ella/usted teine     ellos/ellas/ustedes teinen
Hope that helps and that the test went well! ;)
Link to comment
Share on other sites

And yes, I'm using the blueRobot style. It's modified a good bit, but it's based on bluerobot's style.
Looks good. It works in Konqueror too! Mine doesn't work in Konqueror for some reason. :thumbsup:
Link to comment
Share on other sites

I have a volunteer that is making me some more styles, and me and another person are trying to start a Sourceforge project for Nilson's Blogger. (Note, this file does not reflect current development status - it is the tested cooker, not the unstable verison)The 0.9 release will have a different file structure than this.http://home.earthlink.net/~builds/nilsonsb...er09_cooker.zip

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...