Wednesday, June 24, 2009

DD Swing Portal System : going to be even more better

Today is one of the good days if not best for this framework. Not able to do too much today but feeling quite happy that my dreams are coming true to develop such a kind of framework. This framework has all features which any automanaged framework should have.

One thing which is giving me more panic is auto business logic creation and storing it to the database. Every application being created in this framework will have their own business logic room which will be loaded and injected into the application at runtime while loading.

I am hoping to be able to handle this criteria in a couple of days if not in a couple of weeks.

And yes nowadays I am wondering how to express my feelings as WE are the champions of Cricket. The ICC and BCCI tried alot to kick us out from the world of sports by doing stupid activities and helping all those terrorism via Afghanistan. But now we are the Champions and India is a Looser... and I always love to see all of my country's enemies as Loosers.

I still cannot believe how world has accept India as an IT hub... When I heard the comments like indian IT is the best and Indian IT engineers are the best in world... and hehe surprisingly Indians are also now starting to believe this.

In my whole life I have never ever seen any Indian as creative and innovative, they are the people who just love coding... THEY LOVE TO WRITE 1000000000000000000000000+ LINES OF CODE even though it can be done in a FEW LINES.

And above all they LOVE TO CHEAT other peoples' code as well... just go to some source code repositories and copy the source and rename the package name and author name... and start feeling that it is their code... THIS IS INDIAN trademark.

We PAKISTANIs do the best code, creative, innovative that is why our IT industry is more toward innovation and product oriented and Indians are still surviving on OUT SOURCING. OUT SOURCING IT, MOTHERS, LAWYERS ......

I am waiting for the day when the world will get fedup from such creatures, who are spoiling the beauty of creativity. I always wish to be a Leader, a Creater, and a MOTIVATOR.....


Sunday, June 21, 2009

DD Swing Portal System... Validation Component (New Model)

Today I am able to develop most energetic way of doing validation and JComponent behavior control via MapValueModel and MapVetoableValueModel.

It sounds to be a sexy way to validating component and its behavior. I always prefer that the component should be controlled to get the data input from the user rather than we have to post the validation errors to it.

This model will help the 95% of the validation and component behavior control via data input. We still populate the error or validation message created by the serverside validation components i.e. Hibernate/JPA validation.

For the project privacy now I am not publishing my code for validation as Now this project is thought to be published as a commerical project. But in my comming articles I will explain some of the logic behind this validation framework so that developers who want to comeup out of the box solution can take benefit from it.


Thursday, June 18, 2009

DD Swing Portal System... Validation Component (Lost In the Winds of Windies ... hehe)

Today is Not the good day as per my work is concerned. I have developed some nice components for sexy validation. They are working very successfully in a normal swing development.

But unfortunately they have failed in my environment only because this framework is just like me - Rigid, Sexy and Creative, so cannot accept the normal way of development. ;) Really it gives me so many sleepless nights just thinking how could this Rigid, Sexy and Creative framework will accept my Validation Model.

I was feeling very down yesterday, my morale was hitting the core of the Earth.. hehehe but offcourse this portal is my baby and no one can leave their babies abandoned... huhuhu

Today I came up with other model which is more applicable and suits my Map based Binding mechanism... Man it is really the most sexiest way to validate the Components of Swing. After successful completion of this model and ofcourse by the acceptance of my sexy framework, I will post the modular design of this validation model.

I think for today this is enough to present my mental condition hehehe

Cheers

Tuesday, June 16, 2009

DD Swing Portal System... Validation Component

Hi All,

Today I am creating an advisor mechanism which will control the validation of the components. The concept of validation is based on annotations provided by JPA and also provided by this framework.

The basic idea behind the validation is to add validation annotation to the setter methods of the POJO i.e. JPA. If the user is unable to add the validation annotation to the Setter methods then it will take the default from length attribute of @Column annotation which is associated to the Getter methods of the JPA.

For example if the Return Type is "String" and length specified in the @Column annotation is "10" then that component only could accept the Alpha-Numeric values upto the 10. But then there is no restriction for the Minimum value as we can foresee from the Database columns.

If the Return Type is Integer the component can accept only number values with precision.

If the Return Type is BigDecimal, Float then the component can accept the precision values for the number.

If the Return Type is Date then the component can accept Alpha Numeric with specific format defined by the Formatter of the Date component.

I am using JXlayer for displaying the error code and description for the component.

Hopefully, I will finish this Validation Advisor in a couple of days in a way that it will act as an independent modular component for validating the Form Components.


Regards


Monday, June 15, 2009

DD Swing Portal System... updated news

Dear All,

Today is the most happiest moments of my life. I have 80% complete my Domain Driven Swing portal system. It is first of this kind in the world of swing. I am happy to announce that my Rich Client Portal is in the final stage.

The main feature of this Rich Portal is that it is based on almost ZERO coding concept. it is Service Oriented and Modular.

It is so big day for me I am relaxed, satisfied and my feelings are touching the sky as this is done with a great sucess. My dreams are in tengible forms as they are not dreams any more. I am able to develop one of the most wanted portal for RICH CLIENTs based on java swing

Today I am going to attached some of the snap shot of this swing portal systems. Very soon I am going to create website for the community to use for using for test as It will be a commercial product.





Every icon on this OSx style tool bar is presenting an idependent application which has its own behavior and life cycle. But the life cycle of internal frames are joined with the life cycle of the whole portal.

Each Internal application has Tree and container whcih will contain usecases. All usecases are domain driven or you can say Model driven. User of this framework has to do it nothing all is done by the framework




The further details will be in my next blog. I am working on the website for this framework. I am hopeful that it will be one of the best swing portal systems in the present time.

Regards