Category: frameworks

Adding Mask to UITextField

Posted by – February 19, 2010

Cocoa Touch is an awesome API, it contains a large set o frameworks that can be used to create fantastic applications for iPhone, iPod Touch and iPad, but if we compare Cocoa Touch with Cocoa API for MacOSX we won’t find some cool features like masking on input controls.
More

Share

Taking control of Lift’s snippet rendering

Posted by – September 26, 2009

One of the features that I always pay attention in a framework is how we can control what can be rendered in a view and what not, many frameworks uses a scriplet language, some others uses a kind of template system for this purpose and a few give to the user a object oriented way to do it.

In this article I’ll show an example of how we can take the control of view rendering on lift framework with the help of snippets. With snippets you will be able to perform any server side interaction that you need, you can call a snippet by placing a tag on view code, this tag has a naming convention required to call the snippet properly, a snippet always emmit markup back to the user.
More

Share

Writing MacOSX System Services with RubyCocoa

Posted by – September 7, 2009

Today I started my study about RubyCocoa and how it works, my first project was a simple system service for MacOSX Leopard where the user can type a portuguese text, select it and translate to english, the user can also type the text in english and execute the system service to translate it back to portuguese.

Here’s what I did:
More

Share

Data Persistence on ASP.NET MVC Applications with EntityFramework

Posted by – February 27, 2009

There’s no doubt, ASP.NET is an amazing technology, very productive and easy to use, but it isn’t perfect, his architecture doesn’t help enough when you need add unit tests in your project and you can’t see a clean separation of concerns, some of its urls used to access pages isn’t so intuitive, if you need pass some data over browser address bar it will only read by accessing the old QueryString object.

As completly opposite we have ASP.NET MVC, some of its urls are very intuitive, you don’t need use something like QueryString object to read parameters passed via GET method, you can see a clear separation between model, view and controller layers, all ASP.NET MVC applications can be easily tested using the most famous unit tests frameworks.

In this article I’ll give a small introduction to web development with ASP.NET MVC and data persistence using ADO.NET EntityFramework, a simple contacts application will show how to accomplish this.
More

Share

Fixing date input in Django

Posted by – February 18, 2009

There’s no doubt about Django and its agile development nature, but there are some circustances where we need take more care on user input, one of these circustances is date input, after few hours googling about it I finally found a way to fix date input by just using DateTimeInput widget on DateField of Django ModelForm.

More

Share