Blogoforum - blog+forum on development http://blogoforum.com/tag/development Talk about development Web To Print | Variable Data Printing Software | Print On Demand Solutions | Print Designing & Ordering Management http://blogoforum.com/tag/development+software/web-to-print-variable-data-printing-software-print-on-demand-solutions-print-designing-ordering-management-17651.html Radix offers Web To Print Software Solution for Printing Industries. Our online print products designer software allows your visitors to design, upload and place order of different types of products like Business card, Greeting Cards, Post Cards, Promotional Cards, T-Shirts, Mugs, Stationary. Contact Us now to get variable data printing and print on demand software solutions. Business Inquiry to sales@radixweb.com or call on +14057964103, +17758901396. Tue, 26 Aug 2008 06:03:04 GMT http://blogoforum.com/tag/development+software/web-to-print-variable-data-printing-software-print-on-demand-solutions-print-designing-ordering-management-17651.html Use of JRuby and Spring Example http://blogoforum.com/tag/development+j2ee+java+jruby+mvc+programming+ruby+spring/use-of-jruby-and-spring-example-4181.html The following example illustrates how to use JRuby and the Spring MVC framework. It is based on the jobster Ruby and Spring example; the examples in the blog entry below didn't work 100% due to missing code and other issues, but the example on this page is a working reimplementation. Of course, to get the examples running, you will need a working J2EE environment (a servlet container, java, jdk, and a little patience). "The goals of the project are to permit rapid innovation and iteration, full reuse of our existing Spring and Hibernate business logic and objects, and a smooth transition from prototype to production code." http://www.botspiritcompany.com/src/springruby/example_ruby_spring.html - 2 replies Fri, 08 Aug 2008 11:24:39 GMT http://blogoforum.com/tag/development+j2ee+java+jruby+mvc+programming+ruby+spring/use-of-jruby-and-spring-example-4181.html Maintaining consistency and organization while tagging http://blogoforum.com/tag/development+general+plural+programming+singular+software+specific+tagging/maintaining-consistency-and-organization-while-tagging-17381.html I'm adding a framework for tagging into some commercial software, and I wanted to anonymously get some anonymous opinions. I should begin by saying my goal is to keep things consistent and organized, as that is very important with the software I'm working on; the user often has to deal with thousands of objects, and sorting/searching/organizing reliably is both important and necessary. Plural vs. Singular, Capitalization?: I have a cooking blog, where I post my kitchen misadventures and favorite recipes. Sometimes I tag my articles with "Recipe" and sometimes with "Recpies". The site I use for blogging regards these as two different words. Is this typical of websites/software that makes use of tagging? My question to you is: in your opinion, should searching for the tags 'recipe', 'Recipes', and 'Recipe' all return the same results? General vs. Specific? : In my cooking blog, I sometimes tag an article with "Breakfast Recipes", because it's an omlette or something, which is conventionally enjoyed in the morning. Sometimes I just tag something with "Recipes", because it's an ice cream sundae or something, which is generally acceptable at any time of day (or damn well should be). My question is, in your opinion, when my readers search for "Recipes" should things tagged with "Breakfast Recipes" come up? Thu, 07 Aug 2008 16:23:53 GMT http://blogoforum.com/tag/development+general+plural+programming+singular+software+specific+tagging/maintaining-consistency-and-organization-while-tagging-17381.html Fear http://blogoforum.com/tag/business+career+development+goals+jobs+personal/fear-9869.html What is Fear? Well it's many things. We see it in the movies. But what about our everyday lives? It can keep you where you are. You want to succeed you want to be your own boss, you want to enjoy life, and have time to spend doing what you want to do. But alas Fear keeps you bound to your job, your humm drumm existance. Fear that you might make a mistake, No I can't go for that position, I can't start my own business, what if I fail???? Therefore Fear has won. People that succeed in life, you know the ones you envy, well they take Fear and turn it into action. Belive me they are fearful, but that is what drives them to succeed. Fear of success is the biggest Fear of all. Go forth and a little at a time turn Fear into a tool that can change your life and make what you want out of it, don't let Fear keep you from your Goals/Dreams. Tue, 07 Aug 2007 08:42:27 GMT http://blogoforum.com/tag/business+career+development+goals+jobs+personal/fear-9869.html ???? ?? ??????? developers.org.ua http://blogoforum.com/tag/blog+community+development+photo+programming+ukraine+%3F%3F%3F%3F%3F%3F%3F+%3F%3F%3F%3F+%3F%3F%3F%3F%3F%3F%3F/developers-org-ua-9491.html ??? ?? <a href="http://www.developers.org.ua/archives/max/2007/07/19/dou-meetup/">??????? developers.org.ua</a>. ??? ?????????: ?? ??????? ???? ????? ?????, ?????? ?????????????. <a href="http://www.flickr.com/photos/dkrukovsky/1009852558/" title="Photo Sharing"><img src="http://farm2.static.flickr.com/1099/1009852558_190bf2a4a6.jpg" width="500" height="375" alt="P8046330" /></a> ??? ??????????? ???? ?????? <a href="http://www.flickr.com/photos/dkrukovsky/1009852570/" title="Photo Sharing"><img src="http://farm2.static.flickr.com/1374/1009852570_54a490e3fb.jpg" width="500" height="375" alt="P8046331" /></a> ????? ?????? <a href="http://www.flickr.com/photos/dkrukovsky/1009852654/" title="Photo Sharing"><img src="http://farm2.static.flickr.com/1364/1009852654_de047037f5.jpg" width="500" height="375" alt="P8046332" /></a> <a href="http://www.flickr.com/photos/dkrukovsky/1009852696/" title="Photo Sharing"><img src="http://farm2.static.flickr.com/1129/1009852696_84a1d37c6a.jpg" width="500" height="375" alt="P8046335" /></a> <a href="http://www.flickr.com/photos/dkrukovsky/1009852802/" title="Photo Sharing"><img src="http://farm2.static.flickr.com/1083/1009852802_9461bd22c4.jpg" width="500" height="375" alt="P8046336" /></a> <a href="http://www.flickr.com/photos/dkrukovsky/1009852918/" title="Photo Sharing"><img src="http://farm2.static.flickr.com/1166/1009852918_f45e1cf152.jpg" width="500" height="375" alt="P8046337" /></a> <a href="http://www.flickr.com/photos/dkrukovsky/1009883476/" title="Photo Sharing"><img src="http://farm2.static.flickr.com/1259/1009883476_14619945ea.jpg" width="500" height="375" alt="P8046341" /></a> ????????? ?????????, ??????? ???????? ????? <a href="http://www.flickr.com/photos/dkrukovsky/1009883478/" title="Photo Sharing"><img src="http://farm2.static.flickr.com/1081/1009883478_e29987ec23.jpg" width="500" height="375" alt="P8046343" /></a> <a href="http://www.flickr.com/photos/dkrukovsky/1009883502/" title="Photo Sharing"><img src="http://farm2.static.flickr.com/1072/1009883502_306de6feee.jpg" width="500" height="375" alt="P8046345" /></a> ?????? - ??????????? / ???????? ukr.net ? pravda.com.ua (? ???????? XHTML) <a href="http://www.flickr.com/photos/dkrukovsky/1009883582/" title="Photo Sharing"><img src="http://farm2.static.flickr.com/1247/1009883582_5919b4f1ca.jpg" width="500" height="375" alt="P8046346" /></a> ??????? <a href="http://www.flickr.com/photos/dkrukovsky/1009883596/" title="Photo Sharing"><img src="http://farm2.static.flickr.com/1299/1009883596_15acc03563.jpg" width="500" height="375" alt="P8046348" /></a> Sat, 04 Aug 2007 15:41:50 GMT http://blogoforum.com/tag/blog+community+development+photo+programming+ukraine+%3F%3F%3F%3F%3F%3F%3F+%3F%3F%3F%3F+%3F%3F%3F%3F%3F%3F%3F/developers-org-ua-9491.html Java Web Development Can Be Much Easier Then It Is Now http://blogoforum.com/tag/article+development+dkrukovsky+framework+java+jsf+link+programming+talkinghub+web/java-web-development-can-be-much-easier-then-it-is-now-350.html One of most respectful people in software loves JSF. But me not. Here's a discussion on interview with Gavin King: http://www.theserverside.com/news/thread.tss?thread_id=39214 Gavin King is author of most widely used Java persistence framework. Enough to say about Gavin to state he has some respect. Unfortunately this time he provided mostly subjective and questionable arguments. Here are my subjective thoughts. I wrote a bit about JSF before: http://talkinghub.com/message/153.html#message What I felt trying to build this app with JSF is simply that I can be more productive. Web development should be extremely easy comparing to GUI development. Why? Simply because almost all we are working with is just text! And all the stuff is (cross-platform) standard defined years ago! No platform-dependent line-by-line or pixel-by-pixel drawing, no system-dependent user and other events, and who knows what else stuff to deal with in the world of GUI clients. This is why we have so little GUI frameworks. This is why we have so many web frameworks. Because the web development is generally easier then GUI client development. So while working with JSF I was unproductive even comparing to Swing development. Yes I used uncommon nowhere recommended approach using JSF in my app. I was using it with HTML templates, without XML configs, without additional JavaBean layer, and with high number of custom components. My development was going a lot slower then the same thing could be using Swing. Both MyFaces and Sun's JSF RI source code quality is big opportunity for improvement. MyFaces JSF implementation worked buggy with my HTML templates so I ended up with tricky combination of 3rd party MyFaces custom component library and Sun's reference JSF implementation. Yeah, weird! "Something is wrong" I started to think. "We have cross-platform, standard, very simple text technology (HTTP) comparing to Swing - so why I am so slow comparing to Swing?" So I decided to move forward. I just throw off the entire UI layer I wrote at that time except my HTML templates. I looked at Tapestry but lot of XML configs and long learning curve scared me away. How many pages that book on Tapestry does have? Just no time for it. I started with plain servlets and for just one day I had my UI powered by my own small library. No XML configs, no additional layers, no "expression language". I fed it with my HTML templates I already had and it started working. And I felt much comfortable with what I wrote. Do you know this nice feeling when you are confident in what has been made by your own hands? When you know it will work as you desire, and you can modify it as you desire, and nothing stops you and you can do just everything you would need. And it works as you see. Now development is so extremely simple that I can change HTML List to HTML Table or HTML DIV with subDivs without touching Java code at all, simply by modifying the template. Another side effect I got was execution speed - requests started to process a lot faster. Good for the future. Interesting note. I looked at Wicket framework recently. Looks pretty similar to what I did by myself. By the way - thanks to JSF and other today's web frameworks - this knowledge helped me a lot to build my UI layer fast. Do you have experience using JSF with HTML templates? Denis Krukovsky. - 1 reply Tue, 31 Jul 2007 16:00:29 GMT http://blogoforum.com/tag/article+development+dkrukovsky+framework+java+jsf+link+programming+talkinghub+web/java-web-development-can-be-much-easier-then-it-is-now-350.html Need Help in Modification MultiRowHeaderExample http://blogoforum.com/tag//need-help-in-modification-multirowheaderexample-7488.html Hi, While searching over the net I came to cross MultiRowHeaderExample, which I like to embed in my application, but the code generate the JTable looks like this:<a href="http://www.codeguru.com/java/articles/223.shtml">Multiple row header</a>(click on it to see the code). and I would like to modify it according to my application requirements, which must looks like this: <a href="http://www.ppiusindh.org/multi/">ModifiedMultipleRowHeaderExample </a>(click on it to see the required JTable form) copy the <a href="http://www.ppiusindh.org/MultipleRowHeaderExample/">Java Code</a> Thou, I have hit and try but couldn't generate accurate JTable as shown in the above URL, therefore, I am enclosing code for you to help me out, or at least show me the way how to increase the column width to the accurate length of label. - 1 reply Thu, 26 Jul 2007 05:51:16 GMT http://blogoforum.com/tag//need-help-in-modification-multirowheaderexample-7488.html Dynamic JProgressBar http://blogoforum.com/tag/java+swing/dynamic-jprogressbar-8644.html Dear Experts, I have created Applet-Servlet Communication Application, where I am trying to save the data via servlet and in return it sending boolean value to the applet. So, I would like to implement a JProgressBar, which may display at the time of data saving and the value of JProgressBar increase as the boolean value returns from servlet. Here I need your help, that if any one have an example (either in Applet or Swing Application) of JProgressBar, which may increase bar value upto 10% via Thread notify()method on the boolean value returns in true and after increasing upto 10% get the Thread wait() for the next boolean value returns in true. I hope you will be understanding the problem, if still have any confusion, or any other ideal to take care of this problem then I am looking forward to you. Thanking you in advance Regards, M.A.Bamboat - 1 reply Thu, 26 Jul 2007 05:35:27 GMT http://blogoforum.com/tag/java+swing/dynamic-jprogressbar-8644.html Database and java http://blogoforum.com/tag/database+j2ee+java/database-and-java-5125.html What do you think about this topic? - 1 reply Thu, 25 Jan 2007 08:56:37 GMT http://blogoforum.com/tag/database+j2ee+java/database-and-java-5125.html BotCode Analytics - Analysis of downloads http://blogoforum.com/tag/blog+blogging+development+j2ee+java+jruby+programming+ruby/botcode-analytics-analysis-of-downloads-4230.html BotCode Analytics: The Following links are snapshots of the most downloaded applications and projects from newspiritcompany.com http://www.botspiritcompany.com/botcodeanalytics/spring/system_files.html With full source Tue, 14 Nov 2006 09:05:15 GMT http://blogoforum.com/tag/blog+blogging+development+j2ee+java+jruby+programming+ruby/botcode-analytics-analysis-of-downloads-4230.html RE: RE: Code Generation? http://blogoforum.com/tag/code+development+dkrukovsky+generation+programming/re-re-code-generation-489.html hmm my explanation is not very clear so I posted more info with some example on Artima: http://www.artima.com/forums/flat.jsp?forum=106&thread=152273#197859 See it rephrazed. You have DataMapper code which does the job. Now some data (sql scheme) has changed and you rewrite DataMapper code to do the job according to the new scheme. You start to think about writing a generator which will take sql scheme and generate DataMapper according to sql scheme changes. Now instead of writing generator you can think about writing code which will take sql scheme, handle its changes and do the job! Should be easier alot. I will not touch ROR since I know little about it. Denis Krukovsky. - 1 reply Tue, 19 Sep 2006 13:10:59 GMT http://blogoforum.com/tag/code+development+dkrukovsky+generation+programming/re-re-code-generation-489.html RE: Code Generation? http://blogoforum.com/tag/code+development+dkrukovsky+generation+link+programming/re-code-generation-450.html I think you might be missing the point of code generation. You don't write a code generator to get a job done... you write it to get a job done MANY TIMES. If you are able to write code that does something and does it well, why not write a generator that can reproduce that code (and even with customizable situation specific variations) again for you the next time you encounter a similar problem? Rail's generators are there to save you from having to reinvent the wheel every time you want to work on a project. Web projects have fundamentally simliar basic frameworks. Why spend time and effort rebuilding that framework every time you need to pop out a website? Spend your time and effort on the stuff that makes the website unique or innovative instead. - 2 replies Sun, 17 Sep 2006 09:36:16 GMT http://blogoforum.com/tag/code+development+dkrukovsky+generation+link+programming/re-code-generation-450.html Steve Pavlina plans to launch a forum http://blogoforum.com/tag/development+forum+personal+steve-pavlina/steve-pavlina-plans-to-launch-a-forum-2677.html Steve Pavlina <a href="http://www.stevepavlina.com/blog/2006/07/discussion-forums-coming-soon/">plans to add discussion forum</a> to his <a href="http://www.stevepavlina.com/">website on personal development, StevePavlina.com</a>. Since Steve has <a href="http://www.stevepavlina.com/blog/2005/10/more-on-blog-comments/">disabled comments</a> for his blog, would be good to have place to discuss his writings. Mon, 31 Jul 2006 16:07:41 GMT http://blogoforum.com/tag/development+forum+personal+steve-pavlina/steve-pavlina-plans-to-launch-a-forum-2677.html Blogoforum on vennt http://blogoforum.com/tag/blogoforum+design+development+discussion+forums+messageboards+tagging+tags+vennt+web2.0/blogoforum-on-vennt-2083.html We were talking about Blogoforum over on http://vennt.net , its nice to see someone else who doesn't think that Invision Board is the be all and end all of internet discussion. It would be interesting to know what the blogoforum regulars think of my slightly different take on the tag based forum. - 1 reply Thu, 29 Jun 2006 14:40:03 GMT http://blogoforum.com/tag/blogoforum+design+development+discussion+forums+messageboards+tagging+tags+vennt+web2.0/blogoforum-on-vennt-2083.html Procedural Design for Good OO Design http://blogoforum.com/tag/design+development+oo+programming/procedural-design-for-good-oo-design-1299.html Peter asks JOS readers about where to put validation code in MVC: http://discuss.joelonsoftware.com/default.asp?design.4.354410.6 One technique I use frequently to build good OO models is like this. First thing I do is try to describe my program logic using procedural design. I'm giving the system the best procedural design I can. Important thing here is to follow DRY principle and avoid code duplication. As a result, I have a set of methods on paper or in my mind. I have pretty actual set of methods, and I know pretty precisely how my program will do some routine, no matter will I use procedural design, static methods, or pure OO design. Now with this set of methods it is pretty easy to build a good object model. Note methods doing similar or closely related things on same data type. These methods are good candidates to be one object's responsibility. This technique is well applicable to extend or improve existing code. Describing existing program flow using plain procedures, we can find points of ineffectiveness of our OO code, thus identify improvement opportunities. Describing new functionality with procedures, we can find which classes we will give new code to, or which classes should be refactored or new classes are to be created. If you want, we can conduct an experiment. Give me a set of procedural routines. No need for actual code, we can use human-word pseudocode. And I'll show you how I would build an object model from them. What do you think of this technique? Sun, 18 Jun 2006 10:08:06 GMT http://blogoforum.com/tag/design+development+oo+programming/procedural-design-for-good-oo-design-1299.html Where to Put Validation in MVC http://blogoforum.com/tag/design+development+mvc+oo+validation/where-to-put-validation-in-mvc-1311.html Again, Peter asks JOS readers about where to put validation code in MVC: http://discuss.joelonsoftware.com/default.asp?design.4.354410.6 I recently had to deal with validation issue building Register / Sign In routines for Blogoforum. Blogoforum has UserRepository (almost equal to Factory) where User entities are to be built. So when user submits new registration, Register page transfers request to UserRepository. UserRepository had internal validation checking for no user existing with given name, password strength, and such. UserRepository simply threw an exception if something was wrong. And this was the problem. If something goes wrong, my Register page needs to show "Please Enter User Name", "Choose Another UserName", or "Passwords are not equal" messages. I definitely do not want to create separate class for each of these validation exceptions. Actually, even if I would want to - this would not help much because Blogoforum can report "Choose Another UserName" and "Passwords are not equal" at the same time, and UserRepository can't throw 2 exceptions at the same time. Another idea just visited me that I can alternate UserValidationException somehow so it would be able to answer questions like isUserNameTaken() or arePasswordsNotEqual(). Maybe it is worth something. But I went another way. The module of code absolutely responsible for validation is business logic. Currently in Blogoforum, the object absolutely responsible for new user creation validation is UserRepository. What I did was: - created UserCreationValidator class and moved validation code there - let UserRepository to create UserCreationValidator object to serve UserRepository's needs for validation. Then I've added isUserNameTaken() and arePasswordsNotEqual() public methods to UserCreationValidator. Then I let my Register page to ask for UserCreationValidator, and my UserRepository to provide it. Now, when the user submits new registration, Register page asks UserRepository for validator, validates input using it, and shows error messages or transfers input to UserRepository as needed. UserRepository then does its own validation. As a result, Register page contains only validation logic related to presentation part. For most of the job, Register page asks UserCreationValidator. UserCreationValidator is the class which holds validation logic. Another technique I use for good OO code is Procedural Design before OO design: http://blogoforum.com/tag/design+development+oo+programming/procedural-design-for-good-oo-design-1299.html Sun, 18 Jun 2006 07:18:35 GMT http://blogoforum.com/tag/design+development+mvc+oo+validation/where-to-put-validation-in-mvc-1311.html talkinghub: Improvements and Plans http://blogoforum.com/tag/development+dkrukovsky/talkinghub-improvements-and-plans-974.html Finally pagination is here together with major codebase refactoring. Enjoy. Next plans: introduce user accounts! Stay tuned! - 1 reply Tue, 06 Jun 2006 01:55:36 GMT http://blogoforum.com/tag/development+dkrukovsky/talkinghub-improvements-and-plans-974.html AJAX Complexities http://blogoforum.com/tag/ajax+development+javascript+link+web+web2.0/ajax-complexities-1125.html Surprisingly found good post by Shai Almog where Shai tells us about complexities of AJAX development: http://www.javalobby.org/java/forums/m92018559.html#92018559 I can agree with most of them. JavaScript is pretty limited. Take a look for example at Java map app at http://www.map24.com/ and Google Maps. While Map24 lacks "satellite" and other features, compare their responsiveness. Denis Krukovsky talkinghub Mon, 05 Jun 2006 14:37:02 GMT http://blogoforum.com/tag/ajax+development+javascript+link+web+web2.0/ajax-complexities-1125.html Time for pagination? http://blogoforum.com/tag/development+names+pagination+suggestion/time-for-pagination-582.html The developments over the weeks seem to be interesting. Especially the Tag clouds. I like it! One thing I observed is as the number of posts begin to increase, the page will take longer and longer to load. This is the time when you should start thing about Pagination. IMHO, you should restrict each page loading to 10-20 posts, which will make your home page lighter. And while you are at it, how about a feature that allows you to add your name at the end of each post as a separate entity instead of combining it iwth the body? Just a thought, Regards, Shri. - 2 replies Wed, 24 May 2006 10:53:23 GMT http://blogoforum.com/tag/development+names+pagination+suggestion/time-for-pagination-582.html RE: from Crimea trip back to talkinghub http://blogoforum.com/tag/development+feature+link+photo+talkinghub/re-from-crimea-trip-back-to-talkinghub-942.html &#1048; &#1075;&#1076;&#1077; &#1086;&#1089;&#1090;&#1072;&#1083;&#1100;&#1085;&#1099;&#1077; &#1092;&#1086;&#1090;&#1082;&#1080;??? - 1 reply Mon, 22 May 2006 03:26:13 GMT http://blogoforum.com/tag/development+feature+link+photo+talkinghub/re-from-crimea-trip-back-to-talkinghub-942.html