WPF Projects – Folder Structure


Helmar Martens

by Helmar Martens

 

As a best practice recommendation, when you start a project in WebSphere Portlet Factory, I suggest that you create a folder structure that can be utilized by the entire development team. This folder structure should be created as one of the first tasks in your development effort. This way, every contributor places the artifacts they create on the proper folders, making the development task easier.

How this set of directories are created in the project varies, and it is certainly not a requirement, but here is a suggestive structure:

WebContent/company_name/html

WebContent/company_name/images

WebContent/company_name/css

WebContent/company_name/javaScript

WebContent/WEB_INF/models/company_name/data

WebContent/WEB_INF/models/company_name/ui

work/source/com/company_name/package_name/your_classes

Other directories can be created according to the need of your project. The “company_name” directory is just an example and a place holder, of course that if you develop several projects for your company, you could use a name that is more suggestive to indicate the category of your specific project.

Performing this task right at the beginning of the development effort, provides common direction that keeps your project well structured, especially when there are several developers working on the same project.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s