Search This Blog

Tuesday, June 26, 2012

Creating 'Hello World' app for iOS.

Hello World!  A primer for beginners, like myself.

All it does is take what you wrote on a text label and output your name with a hello!  

I just returned from a brief hiatus from society in the desert setting.  Invigorated by the isolation, I feel triumphant in this land, ready to explore my boundaries and continue studying important concepts for development.  Mobile development especially, because it's lucrative for the successful ones. 

Today I spent my time following the apple developer 'getting started documentation.'  I only followed a tutorial, though I hope to repeat it from scratch without looking later. 

Although many advise that one becomes educated of these concepts before taking the step into the real developer scenario, I decide that just doing it teaches more, as long as I grind down on the tutorials. 

Later, I'll take my time on the Android developer documentation and its own "Hello World!" tutorial. 

Oh, and I have to spare time for Ubuntu app development.




Thursday, June 21, 2012

Making Jotty: 3/3 A reflection and analysis

For a first-timer at coding, I just passed my first test.  I gripped to my seat throughout the entire roller coaster ride, survived miraculously and lived to tell the tale.  I must, however, address the necessity to debug, because I've encountered a lot of errors in trying to "open" or "save," despite following the tutorial carefully.  

I'll have to address these errors to askubuntu at my spare time. This is indeed confusing matters to me.

Jotty: looks good on the outside, but what about the functionality?


Reflection.

Before I embarked on creating my very first app from scratch, I read books about programming languages, most of which were free.  I read them so thoroughly and slowly that my impatience was manifest when I saw the Ubuntu App Showdown appear last Monday.  I badly wanted to just do it, and get my hands dirty with raw concepts.

I consider before when I used to love playing games.  At one point of my experimentation, I played this MMORPG called Maplestory.  I know of fanatics who go crazy about contests or in-game events that transform the average mind riddled with school work into a bustling machine, chugging through the game, mastering its mechanics, voraciously serving the content of nonsense and ultimately a capitalist scheme.  (Yes, I dote on time-consuming online games.)

But development seems like an entirely new, radical and productive experience.   To serve than to be served: the prospects of service makes me exuberant!  I've been hanging out more often in AskUbuntu and Ubuntu Forums to clear my doubts.  It also feels more productive to ask the Ubuntu community good questions than meet with a specialist in person. Mobile development for iOS and Android also caught my eye; one step at a time is good for now.

In short, I'm starting to seep into the online community.

What next?

It's a great step forward but now, I want to keep moving ahead. I only finished the Get Started document... and encountered an unfortunate error.  If someone can explain the AttributeError on the Terminal and how to fix it, I will be grateful.  Perhaps I have to learn the practice of debugging.

I still have no idea for an app.  I have yet to draw inspiration from my peers or those subreddit posts.

Application development is a stunning field. Since I have to take off those training wheels as I make my own, I'm looking forward to the support that AskUbuntu and Ubuntuforums can provide in the days to come.

Wish me luck!  I like where this is going. :-)

Inspirations?

If you have any thoughts about a good app for a novice developer like myself, please suggest on the comments!  I'm all ears as long as it doesn't sound incredibly difficult.

Making Jotty: 2/3 Writing the Code.

I almost shied away when I saw the section on coding to enable functionality in the widgets of my application.  Widgets are those submenu items, like "open" or "save." I was almost caught with anxiety, like a recruit soldier reluctantly entering the fog of gruesome war. 

Regardless, I stood firm and I entered.


Although I was hit by a lot of new concepts, I stood firm and absorbed this knowledge with an open heart.  I'm thankful that the Quickly tutorial provided a steady walkthrough, describing the pertinence of the code I wrote into the application. 

Coding is like breathing life to a stone.  Design is fruitless without compelling and innovative functionality.  I know that in order to accomplish this, one doesn't have to be a code monkey!

I cleared away my vague notions of programming terms as I followed along.  JottyWindow.py, which I edited and wrote code, was a class!  And the definitions following the class are considered methods, which have only one indentation.  Indentation matters in programming, so it seems. 

Before even bringing up methods or calling definitions, we have to import tools and libraries.  For this tutorial, I imported GLib, a hefty library. 

With much writing, hooking objects to the living code, I managed to create Jotty! Huzzah!