All Articles

NAnt is a free .NET build tool, but it is enough handy to accomplish our intricate job once we able to put it in place. The configuration options are enormous and I am sure you will get a way of your new job accomplished. This is because we have been doing a lot of manual work every time while we deploy this particular project, but finally we have come accross a solution of a large build management work. This is implemented for one of our projects as well.

Pragmatic programmers automates everything :)

 

Yes! And why not build a script for your Jenkins build. Well, it’s not that hectic but still requires few steps:

·      Open the browser.

·      Write the Jenkins URL.

·      Login.

·      Find the job.

·      Click build. :)

 

Won’t you feel happy, if the same operations work for only one step? Write the command and press enter! Boom!! :)

 

Lets see how to accomplish this. :)

 

We have discussed the solution here based on the OS.

 

Drupal is the magic CMS to build a website really fast. Using Drupal modules like views, panels, context, display suites, you can create a website almost without writing any code.

 

Today we will discuss the functionality of context module. Consider the following statements.

 

Someone said, “I wish I could travel back to year 2000 by a time machine and read the book before starting my career”. I totally agree. However, at the same time, do not regret at all for reading it now :)

 

The Pragmatic Programmer: List of tips

 

Chapter 1: A Pragmatic Philosophy

 

The first chapter discusses the attitude, style, philosophy approaching problems (and their solutions), and behaviors of a pragmatic programmer that distinguishes them. Topics discussed are:

We write many lines of code in the code behind file of asp.net page or user control file. Sometime we incorporate huge business logics in these pages from time to time. Consequently, the codes of these pages turn into in a mess, As a result, we encounter some obvious problems

 

-Difficult to add new business logics.

Different applications such as a web site, schedulers for periodic actions, or its sub site may use same set of app keys, and these apps may not be hosted in the same web domain. For instance, there may have a common email turn off/on feature or directory path that is shared for different apps. Then we can create a common.config file and add the keys there. Finally we can re-use this file form different app using “File” attribute of configuration file, not “ConfigSource” attribute. It uses a relative path to an external file that contains custom application configuration settings.

While we commit files to SVN, we encounter that some files need to be deselect from commit list. In fact, we do not want to commit these files to repository always such as dll, pdb or web config files etc. Yet, these files come up with your working files again and again at the same time when your attempt to commit your working files. It may annoy you and you may kill a great deal of your valuable time of development.

 

  1. Download the installer from this link. http://drush.ws/drush_windows_installer
  2. Run the installer.
  3. Enable 'Register Environment Variables' feature during installation. (See figure below)
    Enabling this feature will allow you to run drush commands from any project directory. Otherwise you will need to register the drush executable path manually.

 

Recently we have found a serious issue one of our project with browser caching. Here is the actual scenario

 

    1.       From website, Login as a member

    2.       Browse same page multiple times, Suddenly browser will show you are not logged in

    3.       If you press CRTL+F5, you will find yourself as a logged in user

 

Pages

Subscribe to All Articles