Category Web Development
One reason why you should refactor your code often
Once upon a time, a consultant made a visit to a development project. The consultant looked at some of the code that had been written; there was a class hierarchy at the center of the system. As he wandered through…
Resolving error in installing any gem by Ruby
After installing the Ruby installer you might need to install some gems. For example, if you are developing with RedHat OpenShift you want to install ‘rhc’ gem to access remote files on OpenShift. To install ‘rhc’ you would run the…
Override parent shortcodes in your WordPress Child Theme
Overriding shortcode defined in WordPress parent theme is pretty easy. Just use a after_theme_setup section in functions.php of the child theme; example: add_action( ‘after_setup_theme’, ‘my_child_theme_setup’ ); function my_child_theme_setup() { remove_shortcode( ‘your_shortcode’ ); add_shortcode( ‘your_shortcode’, ‘my_shortcode_function’ ); } function my_shortcode_function( $atts, $content…
Create your first real-time AngularJS application
In my previous article I talked about creating real-time PHP application. That was on the server side and I demonstrated a very very basic client to connect with it. Let’s take that to next step and create a Javascript client…