Archive for the ‘Software Development’ Category

Installing PyGraphviz on Windows

Django Extensions provides a bunch of management commands for the Django Framework. One of the most handy is the graph_models command. This command creates a visual representation of the Django models existing in the database.

Tags:     

Convert python object to XML representation

The application I was working on used a Flash slide show. The configuration on the slide show was done from a xml file. The task was to make this configuration manageable from the Django admin.

Tags:     

Oracle OpenWorld 2011

October 2-6, Moscone Center, San Francisco. “Oracle OpenWorld is the most cost-effective and efficient way to stay ahead of the technology curve.” Why not believe it? When tens of thousands of people attend,  you have thousands of sessions to choose from, you can enjoy membership in a global community of Oracle technologists, customers and partners [...]

Tags:   

Multiple select ComboBox in RadGrid filter

There are many examples of how you could use a ComboBox as a RadGrid filter but if you would like to use check boxes inside that ComboBox you’ve got your work cut out for you. This article is going to make you life easier and give you an example of how you could achieve that. 

Tags:    

Multiple select TreeView in ComboBox

The Telerik ComboBox for ASP.NET allows you to define an ItemTemplate which gives you the possibility to customize the appearance and functionality of the ComboBox. This article provides an example on how to place a multi-select TreeView inside an ItemTemplate, handling the selection on client side and how to process the data on the server [...]

Tags:    

Builder pattern

Consider using a builder pattern when faced with classes that have constructors that take a large number of parameters.

Tags:    

Generate entity classes with Hibernate Tools

I recently gave a try to reverse engineering a database into entity classes by using Hibernate Tools. And it is quite cool.

Tags:       

Parametrized Queries vs. Table-direct mode (SQL Server CE)

            Recently, I worked on a mobile device application and I had to insert about 50000 rows into a SQL Server CE database. NET Compact Framework offers some ways to complete this task including using of DataAdapter and DataSet objects, parametrized queries or SqlCeResultSet(table-direct mode). Considering that the first way is the slowest I will not [...]

Tags:   

Insert image in iReport using xml datasource

When using an XML file as a datasource for a report designed with iReport-Designer for JasperReports, you sometimes want to add an image, which also should be retrieved from the XML datasource. For this, we have to first find a way to represent that image in the XML file, and then, interpret it from there [...]

Tags:      

GWT 2.1 – Uploading a file using the RPC mechanism

Uploading a file in a project using GWT/EXT-GWT can be done in 2 ways : creating a separate servlet or using a library like the one presented here. Normally, because of browser security restrictions you can’t upload a file using RPC. But normally doesn’t mean never. This article will show you how to upload files [...]

Tags: