Comment about PHP Design Patterns Command on Friday, October 30th, 2009 12:13am
Hi There, First comment, good work. Few points of improvement 1. BookStarsOnCommand , BookStarsOffCommand both command missing constructor which sets BookCommandee object inside it self. If you add it...
View ArticleComment about PHP Design Patterns PHP OO Class Basics on Thursday, December...
create a class, create another class, show both classes - class addresses object here.
View ArticleComment about Java Design Patterns Abstract Factory on Friday, March 30th,...
Great explanation and I agree with Boris, Congrat
View ArticleComment about PHP Design Patterns PHP Performance Tuning if VS switch on...
Orginal only 5 Performance Testing PHP if / else VS switch with 100,000 iterations total if / else time: 0.36938524246216 total case time: 0.37775444984436 if / else is quicker by 0.0083692073822021 I...
View ArticleComment about Java This and Super on Saturday, May 7th, 2011 6:54am
Thanks for your sharing. I learned this and super thanks to you. Very clean explanation.
View ArticleComment about COBOL Initialize on Thursday, April 21st, 2011 11:01am
As a practice, if using to initialize a record area, I have always moved spaces to the record prior to the INITIALIZE as the initialize does not initialize FILLER areas (could be only on some...
View ArticleComment about COBOL Initialize on Sunday, March 25th, 2012 9:13am
Also (as TheMadProfessor points out), there is a way to force specific values into specific field types... I use this on a regular basis when trying to dynamically get the number of occurences in a...
View ArticleComment about SQL MySQL Database Backup With PHP on Friday, January 20th,...
This program does rely on php having authority to create a file. Ive had the same permission problem before with PHP scripts and also when running the mysqldump command. Looking for backup tools I...
View ArticleComment about Java JMS With A Queue on Wednesday, May 9th, 2012 5:32am
How i use javax.jms.JMSException ? Where the class QueueConnectionFactory come from ?
View ArticleComment about PHP Design Patterns PHP Job Interview Questions on Monday,...
Thank you for this write up... indeed useful.. would be great if you could share sum more stuff on design patterns
View ArticleJava Design Patterns Builder
Builder OverviewMake and return one object various ways. In this example the abstract SoupBuffetBuilder defines the methods necessary to create a SoupBuffet. BostonSoupBuffetBuilder and the...
View ArticleJava Design Patterns Singleton
Singleton Overview A class distributes the only instance of itself. In this example SingleSpoon class holds one instance of SingleSpoon in private static SingleSpoon theSpoon;andquot;. The SingleSpoon...
View ArticleJava Design Patterns Factory Method
Factory Method Overview Methods to make and return components of one object various ways. In this example the SoupFactoryMethod defines the makeSoupBuffet method which returns a SoupBuffet object. The...
View ArticleSQL Tables
The Tables Used on the FluffyCat.com SQL Reference and Example Site. Director_Film_Table Director_Last_Name - 30 Characters Director_First_Name - 30 Characters Film_Title - 50 Characters unique key -...
View ArticlePHP Design Patterns State
About the State In the State Pattern a class will change its behavior when circumstances change. In this example, the BookContext class holds an implementation of the BookTitleStateInterface, starting...
View ArticlePHP Design Patterns Composite
About the Composite In the Composite pattern an idividual object or a group of that object will have similar behaviors. In this example, the OneBook class is the individual object. The SeveralBooks...
View ArticlePHP Design Patterns Decorator
About the Decorator In the Decorator pattern, a class will add functionality to another class, without changing the other classes structure. In this example, the Book class will have its title shown in...
View ArticlePHP Design Patterns Flyweight
About the Flyweight In the flyweight pattern instances of a class which are identical are shared in an implementation instead of creating a new instance of that class for every instance. This is done...
View ArticleJava Casting
Getting a String out of an ArrayList String StringName = (String)arrayListName.get(n); Getting a double out of an ArrayList (Stored in the ArrayList as a Double) double doubName =...
View ArticleAbout This Site
www.FluffyCat.com first came online way back in 1998. At the time I wasnt really sure what I wanted to do with it, so I chose the somewhat generic name of FluffyCat.com. Slowly I put some of my own...
View Article
More Pages to Explore .....