Senin, 20 Februari 2006

Jumat, 17 Februari 2006

Maintentance

Currentrly application is down waiting for new improved version. Something has happened with previous version so some latest messages were lost. I'm investigating what happened and will post updates.Update: Application is up and running again. No data were lost.

Senin, 13 Februari 2006

New Version Is Out

Now you can add replies to existing messages.URL has changed. Welcome tohttp://65.99.199.201/softwarehowto (update: URL is http://talkinghub.com/http://blogoforum.com/)

Rabu, 08 Februari 2006

Selasa, 07 Februari 2006

No More JSF

Previous: HostingFor just one day I rolled out new HTML component-based presentation layer instead of JSF stuff I was unhappy with. The code can be found in CVS.I will post more description - just express your interest.Next: Plan for Iteration II

Hosting

Previous: PersistenceI needed hosting for my newly created app. I researched del.icio.us and servlets.com for Java hosting providers and decided to try RimuHosting. Must say their support is great. They answer every question I have, even more they do admin work even while I'm not asking! So if you want to do something by yourself you have to stop them haha!If you will decide to try their service

Experimental Persistence Approach

Previous: Live How to Write SoftwareI just published an introductory article on persistence approach used in How to Write Software. Welcome read it to get an idea on how persistence works here.How persistence actually works?On new message creation, UI passes request for new message creation to MessageRepository, giving it MessageSource it uses to create Message from. MessageRepository creates new

Senin, 06 Februari 2006

"How to Write Software" Now Live!

Previous: Iteration I Phase II FinishedI got everything up and running. The application, with persistence layer and brand new web presentation layer, now live athttp://65.99.199.201/write-software/ (update: correct URL is http://talkinghub.com/http://blogoforum.com/)Next plans - move code from articles to CVS, and write on how did I get here.Next: Persistence

Jumat, 20 Januari 2006

Week 2 Day 2: What I Did Today

Previous: JSF DifficultiesFinally got this stuff working. The workaround for bug with MyFaces HtmlPanelGroup was to use Sun JSF RI. I’m still using MyFaces Tomahawk for html list components. Here is the codeAnd here is the resultSummary: I accomplished this pretty easy task working for a pretty long time and with pretty hard effort. Code is still questionable sometimes, some stuff works not very

Week 2 Day 2: What I Did Yesterday

Previous: Plan for Phase IIBasically I was investigating how to get JSF stuff working. I needed to get HtmlPanelGroup to work correctly. Strange but MyFaces and JSF RI works differently.I'l continue.Next: Phase II Finished

Rabu, 18 Januari 2006

Day 7: Plan for Phase II

Previous: Feedback Are WelcomedIn this phase we will add ability to actually post messages and display them.Iteration 1 Phase II RequirementsSystem shall process requests for new message creation, and show added messages.Phase II Implementation PlanWe will add ability to create new Message to MessageRepository. We will create new MessageUI JSF component which will transfer user request for

Day 7: Feedback?

Previous: Coding UIThe first week of this project ends today! I'm busy finding people who I think can be interested in reading or participating in it. If you do know someone - send him the link. Thanks!Next: Plan for Phase II

Selasa, 17 Januari 2006

Day 6: Working

Previous: Sketch of Presentation LayerFinally I got some code working. I downloaded MyFaces and MyFaces Tomahawk, spent some time wondering how can I do something with this hard to reuse code, and finally got a hack.What I was aimed to do is take Tomahawk's HtmlDataList, add data to it using setValue(new ListDataModel(myList)) and put it on screen. No luck. Empty "ul" element.I had to create my

Senin, 16 Januari 2006

Day 5: Coding Presentation Layer

Previous: Help Me ImproveA quick sketch of what I need now is: MessageList which will take list of messages and render HTML list from them; HTMLListItem which will be a child element of MessageList. It will take concrete Message and render it. This is basically all. I'm starting and I will refactor the solution as I will stop.JSF reference implementation have no support for HTML list. I

Day 5: Help Me Improve

Previous: Web Framework I needIt's 5th day the project is going. Not much programming has been done, but a lot of content have been written. I would ask everyone of who you are? Have you come here for the first time? Anybody who returns here to read latest updates? What thoughts do you have reading the content? Any thoughts you do have to help me make the content better?How was your weekend? In

Day 5: Web Framework I Need

Previous: UI StuffSo Facelets documentation says it takes our html and when it sees a tag with jsfc attribute it creates corresponding JSF component for that tag. It takes string from jsfc attribute as a component's tag name. And this appears to be a problem.What it means is that for this scheme to work, for every custom component I made I have to create a corresponding Tag class and register it

Minggu, 15 Januari 2006

Day 4: UI Stuff

Previous: Object DesignWhat kind of web presentation framework would be suitable for the solution? What kind of presentation framework everyone's need?What I would have is a tool which can take my HTML, take my application logic, and generate a dynamic content from them. I want the result to look as my HTML but to contain dynamic data from my application logic. What choice do we have in Java

Sabtu, 14 Januari 2006

Day 3: Object Design

Previous: Requirements RevisedNow see how easy to move from Glossary to object design. Immediately we can identify our business entity/*** represents a Message which can have Text*/public class Message {String text;}What we also need is an object which we can ask to create new Message and to retrieve list of Messages. You may call it MessageFactory, MessageManager or MessageHome. Now I’ll call it

Day 3: Requirements for Iteration 1 - Revised

Previous: First web pageBefore going to the object design, let's take our Plan for Iteration 1 and formalize it a bit.Iteration 1: RequirementsGlossaryMessage – an entity containing Text.System – a web application which can receive requests and send responses. A System shall handle request for adding new Message to the System. A System shall handle request for showing list of messages in the

Day 3: First web page

Previous: PresentationOk! Since I gave myself a week to make this project popular, I will continue working on weekend.So thanks to bloggerforum.com – I have the solution on how to post html here. I go to http://centricle.com/tools/html-entities/ and here is index.html - the first web page on the project.Now I can run Tomcatand get the web solution working:Update: You see that posted html still

Jumat, 13 Januari 2006

Day 2: Presentation

So I have my development environment set up. I started Eclipse and created new "Dynamic Web Project". My project is linked with Tomcat installation.Finally it's time to do some development! I'm starting from presentation. I'm starting from presentation not from business logic simply because I want to get something I can feel immediately. So I add index.html to WebContent:...Ok! I have some

Day 2: Tools

Finally I'm barely free from website setup and can talk about the development tools we will use.Implementation LanguageThe implementation language will be Java. Java is a language I know best, and we have big load of developers who know Java and will benefit from this project. So to get Java go tojava.sun.com and download JDK and JDK documentation. I recommend to unpack JDK source code which

Day 2: SourceForge.net New Project Request

I sent request to Sourceforge staff for a new project. I plan to host source code there. They shall give me answer in 2 business days.Next: Tools

Day 2: Plan for the first iteration

This would be easy: to create a system which will let the visitor to post messages and to view posted messages.Next: SourceForge.net New Project Request

What we are going to build?

I don't know for sure for now. I ask everyone to post ideas on what can be improved on the web.I do have some ideas but I will not post them for now to let everyone to express freely. However I prepared Plan for the first iteration.Next: Plan for the first iteration.update: So the first idea is to create a better place for knowledge exchange.

Who are going to build it?

Well I ask everyone to participate in development. Website comments opened for everyone except spam bots, so if you have something to say then please do.Next: What we are going to build?

Kamis, 12 Januari 2006

Day 1: Website Set Up

Previous: About How to Write SoftwareSo I just created new blog within blogger. I moved links sidebar to the left (I’m still not very happy with it, so maybe you have an advice on how to improve the design?). I added statcounter tracker to track project popularity, and registered newly created project website with technorati.Next: Who are going to build it?

About How to Write Software

This website is an experiment of what is going to happen if: first, everyone would say on what the next killer web app would be then, I will start to implement it online and publish daily development story then, everyone would say on how we can improve it what is going to happen then? We’ll see. We will decide what we need and how to build. We will fight with analysis paralysis, deadlocks