AJAX Form Submit
Here is a simple example using the Yahoo! User Interface (YUI 2) javascript library to hijack a form and use AJAX to submit and process. Using unobtrusive javascript to hijack the form's submit event allows for a progressive enhancement web design strategy. In other words, our web application begins content, then semantic markup (XHTML), then a presentation layer (CSS), and finally the behaviour layer (Javascript/AJAX). This way our application is compatible with non-javascript browsers from the get-go and there is no need to build separate versions of the application, duplicate logic, etc. The idea is that we plan for AJAX from the beginning, and implement that AJAX at the end.
Scrolling Share Button for Social Networking Sites
I would like to share with you how I added a share button for each of the main social networking sites on the left-hand side of my blog. You may also notice that as you scroll down the page, the share buttons follow along so that the user always has a "share this" call to action. My scrolling share button implementaion uses the Yahoo! User Interface (YUI 2) javascript library. I am goinig to assume that you have HTML and Javascript knowledge. If you do not have any HTML and Javascript skills, you might want to look into a widget or plugin for your blogging platform.
I'm Back!
I get a lot of email from readers of my blog who are either looking for help using a piece of software I've written or are waiting for part 4 of my GTK+ Tutorial. Over the last 2 years, as many of you have become aware, I have not dedicated any time to maintaining this website or answering your questions.
It's been a long time...
I've been quite busy this last year. I know many of you are waiting for part 4 of my GTK+ / Glade tutorial, however, I don't know that I will have time anytime soon. I have about 110 emails that I have yet to answered from people regarding my tutorials or PHP code. I'm sorry I'm not getting back to you-- I haven't deleted the emails (not that I'm all that eager to respond to 100+ emails). I hope to get back to writing tutorials and posting code when time permits.
Cheers!
Libglade to GtkBuilder F.A.Q.
I try to help new users with GTK+ programming and Glade as often as I have time in the mailing lists, forums, and emails in response from my tutorials. I posted this to answer some of the more frequent questions I get about GtkBuilder and Libglade.
Libglade and GtkBuilder are libraries which are used by programmers to dynamically parse an XML file describing a GUI (usually created with Glade Interface Designer) and build the GUI. Using Glade with Libglade or GtkBuilder allows for RAD (Rapid Application Development) of GTK+ applications in a multitude if programming languages such as C, C++, PHP, Python, etc. If you don't know this already, this FAQ probably will not be very relevant to you and you should instead start with: GTK+ and Glade3 GUI Programming Tutorial - Part 1
Sandisk Sansa View on Ubuntu Linux
My girlfriend bought an 8GB Sansa View recently and I've been
doing a lot of tinkering with it in Ubuntu 8.04 (both AMD64 and
x86). Here is some of the knowledge I've gained in regards to the
Sansa View and Ubuntu Linux. Please reply if you know any of this
to be incorrect.
GTK+ and Glade3 GUI Programming Tutorial - Part 3
Writing a Basic Program to Implement the Glade File
In this part of the GTK+ and Glade3 GUI Programming Tutorial series, I will show you a very basic program that will parse the Glade file we created in Part 1 and display the main window for our GTK+ text editor. In this part of the tutorial, I will be discussing the GTK+ concepts first and then show the code in both Python and C (in different colors). If you have chosen to work in one language or the other, you can opt to skip over the code explanation for the language you are not going to use.
GTK+ and Glade3 GUI Programming Tutorial - Part 2
Choosing a Programming Language for GTK+ Development
In part 1 of the GTK+ and Glade3 GUI Programming Tutorial series, we designed a graphical user interface (GUI) for a GTK+ text editor application. After doing so, we were left with an XML file (tutorial.glade) which described our application's user interface.
In this part of the GTK+ and Glade3 GUI Programming Tutorial series I will be discussing the various programming languages available for GTK+ development. Subsequent parts of this tutorial will cover both C programming and Python programming. With my help, you will have to make the decision of which one you want to learn how to use (or both!).
GTK+ and Glade3 GUI Programming Tutorial - Part 1
Designing a User Interface using Glade3
In part 1 of the GTK+ and Glade3 GUI Programming Tutorial series, we will be designing the graphical user interface (GUI) for a GTK+ text editor application (shown left) which will be used throughout these tutorials. This GUI design will be created using the Glade Interface Designer and is completely independent of the programming language used to implement the design, which will come in subsequent tutorials.