Author's posts

Guide to MySQL database Engine.

A MySQL database gives you a choice of database engines and an easy way to switch them. Default MySQL Engine would be enough for most of your application but in certain circumstances where the other available engines may be better suited to the task at hand. Choose your engine The number of database engines available …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/06/guide-to-mysql-database-engine/

CSS – Rounded Corner with shadow

Target Audience : Web Developers Hello, web developers! Here I would like to tell you how to make the round corner with shadow for banners or any other components of html. Look the code below: -moz-border-radius-bottomright: 14px; -moz-border-radius-bottomleft: 14px; -web-border-radius-bottomright: 14px; -web-border-radius-bottomleft: 14px; -webkit-border-radius-bottomright: 14px; -webkit-border-radius-bottomleft: 14px; border-bottom-right-radius: 14px; border-bottom-left-radius: 14px; -moz-box-shadow: 0 0 25px …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/05/css-rounded-corner-with-shadow/

Java Essential Tips: Display JFrame in Center of the Screen

Target Audience: Java Beginners, Java Swing Developers What should you know already? Basics of Java Swing The beginners of Java might query “How do I display JFrame in center of screen?” on Google quite frequently. JFrame is the top level container in Swing API to show your GUI application. Commonly, there are 2 methods available …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/05/java-essential-tip-display-jframe-in-center-of-the-screen/

Java Essestial Tips: ArrayIndexOutOfBoundsException when Delete Elements From JList

Target Audience: Java Beginners, Java UI Developers, Swing Developers What should you know already? Java Swing API When you work around Java Swing UI components, especially JList, JTable or JComboBox, you should give your attention more than the attention you are giving for other components. Because these components are not just a single control, it …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/05/java-essestial-tips-arrayindexoutofboundsexception-when-delete-elements-from-jlist/

Excel to MySQL using Java

Target Audience: Java Developers, Database Developers What should you know already? Basics of Java, JDBC Excel to MySQL conversion can be done using LOAD DATA INFILE command as I discussed in Excel to MySQL blog. But that command is inadequate when you need to read the excel cell value and making some calculations or concatenations …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/05/excel-to-mysql-using-java/

Clearing Floats with Overflow using CSS

One of the common problems we face when coding with float based layouts is that the wrapper container doesn’t expand to the height of the child floating elements. The typical solution to fix this is by adding an element with clear float after the floating elements or adding a clearfix to the wrapper. But did …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/05/clearing-floats-with-overflow-using-css/

Ubuntu 11.04 – Available for download April 28, 2011 onwards.

Canonical announced the release of Ubuntu a fast-growing open-source operating system on April 28, 2011 for public download. Ubuntu 11.04 stands out from its competitors as a genuine free alternative to Windows, allowing users to personalise their PC with free and paid apps in a way that’s proven hugely popular in the smartphone and tablet …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/04/ubuntu-11-04-available-for-download-april-28-2011-onwards/

Difference between $this and self?

Inside a class definition, $this refers to the current object, while self refers to the current class. It is necessary to refer to a class element using self, and refer to an object element using $this. self::STAT // refer to a constant like this self::$stat // static variable $this->stat // refer to an object variable …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/04/difference-between-this-and-self/

What is the difference between padding and margins?

Margins and padding can be confusing to the web designer. After all, in some ways, they seem like the same thing white space around an image or object. Padding is the space inside the border between the border and the actual image or cell contents. In the image, the padding is the yellow area around …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/04/what-is-the-difference-between-padding-and-margins/

Double and Triple equals operator in PHP

Have you been given a piece of code to maintain that has single, double and triple equal operators in it? What’s the difference? Single Equals A single equal sign in PHP is an assignment operator. It assigns the value of the right side to the variable on the left side. For example: $name = “jon”; …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/04/double-and-triple-equals-operator-in-php/