Blogs:JaroslavTulach:Daily Life

From APIDesign

(Difference between revisions)
Jump to: navigation, search
(Jaroslav Tulach's Daily Life Blog)
(PHP adventures)
Line 2: Line 2:
<startFeed />
<startFeed />
 +
 +
==== Adventures with PHP and [[wikipedia::mediawiki|MediaWiki]] ====
 +
 +
During the last week, I was slightly playing with various enhancements to the content of the [[Main Page|API Design wiki]]. I've added support for [[wikipedia::recaptcha|reCAPTCHA]]. Now every not registered user needs to prove being human before submitting any edits. This is not intended to repel you, dear contributors. This is here to remind me to log in before making changes and not do my edits as anonymous user...
 +
 +
Another thing to report is related to syntax highlighting. I want this site to contain a lot of code samples and, to be honest, coding directly in wiki is a bit error prone. That is why I've decided to extract the code snippets directly from [[Sources|real sources]]. These are [http://hudson.apidesign.org/job/samples/lastSuccessfulBuild/artifact/samples/build/snippets/ built daily] and guaranteed to be at least compilable. I took the [[wikipedia::mediawiki|MediaWiki]] [[wikipedia::GeSHi|GeSHi]] extension and modified it to embed these snippets into the wiki pages using
 +
<source lang="xml">
 +
<source lang="java" snippet="name.of.the.snippet"/>
 +
</source>
 +
just like I did in the [[APIDesignPatterns:ResponseReply]] one. I have not released the source of my modifications anywhere yet (btw. I've faced [[wikipedia::PHP|PHP]] for the first time and with a little help of the [http://wiki.netbeans.org/PHP PHP support in NetBeans] 6.5 I consider that encounter relatively nice experience), but I have no problem to share them. If are interested, just [[User_talk:JaroslavTulach|talk to me]].
 +
 +
--[[User:JaroslavTulach|JaroslavTulach]] 21:14, 6 July 2008 (UTC)
==== Book is never Written by a Single Person ====
==== Book is never Written by a Single Person ====

Revision as of 21:14, 6 July 2008

Contents

Jaroslav Tulach's Daily Life Blog

Adventures with PHP and MediaWiki

During the last week, I was slightly playing with various enhancements to the content of the API Design wiki. I've added support for reCAPTCHA. Now every not registered user needs to prove being human before submitting any edits. This is not intended to repel you, dear contributors. This is here to remind me to log in before making changes and not do my edits as anonymous user...

Another thing to report is related to syntax highlighting. I want this site to contain a lot of code samples and, to be honest, coding directly in wiki is a bit error prone. That is why I've decided to extract the code snippets directly from real sources. These are built daily and guaranteed to be at least compilable. I took the MediaWiki GeSHi extension and modified it to embed these snippets into the wiki pages using

<source lang="java" snippet="name.of.the.snippet"/>

just like I did in the APIDesignPatterns:ResponseReply one. I have not released the source of my modifications anywhere yet (btw. I've faced PHP for the first time and with a little help of the PHP support in NetBeans 6.5 I consider that encounter relatively nice experience), but I have no problem to share them. If are interested, just talk to me.

--JaroslavTulach 21:14, 6 July 2008 (UTC)

Book is never Written by a Single Person

The Practical API Design book has been send for print over the last weekend. I take it as a good opportunity to say thanks to all the people who helped me write it. The first set of ThanksEveryone notes is now available and covers those who "manually" contributed. I still need to thank to all those support "units" around me - something left for next blog entry...

--JaroslavTulach 12:01, 23 June 2008 (UTC)


Entering the Blogosphere

The publication date for my book is getting closer and closer and to my surprise I am beggining to find out that the work is not over! Quite the opposite is true. I need to do more things now, then I had to during the last month.

Just instead of proof reading the latest versions of book's chapters sent to me by my publisher, I need to create some reasonable online appearance. I've decided to publish the Sources for all the example, polish them to a reasonable state, create a wiki site to allow cooperation between people all around the world interested in API Design and also start a blog.

I am new to the blogosphere and I only envision the rules of proper blog publishing. I doubt I'll be able to publish as often as GeertjanWielenga, one of my beloved editors, however I'll do my best to add at least one note per week. From my current viewpoint a week looks like a reasonable compromise between the needed time to find at least one interesting event in the API design world and between finding enough time to write that note.

Enough for now, I need to finish the blogging infrastructure. And, unless you have done so by now, do not forget to preorder the API book...

--JaroslavTulach 09:33, 15 June 2008 (UTC)

Personal tools
buy