This guide assumes you are using Xcode 4 Core data is the feature of Cocoa that makes it the best tool for developing applications for the macintosh. It’s what makes Cocoa a better choice for developing full, feature rich applications than Java or Ruby (not that they’re bad languages) for the mac. The simple reason for this is it allows you to develop amazingly complicated applications in precisely 0lines of code. Even then, you can…"A Simple Core Data Introduction"
Bindings are an incredibly useful feature of Cocoa. Introduced in Mac OS 10.3 bindings allow developers to create incredibly complex applications in very few lines of code and, as a result, eliminate many bugs from their software that would normally arise from the sheer mass of code a developer would normally have to write. Whilst learning Cocoa, bindings aren’t a necessary thing to learn about and many budding developers will skip over bindings due to…"Intro to Bindings in Cocoa (As well as Key Value Coding)"
For reference, I shall now refer to pass by address as PSA Let’s just get something out-of-the-way. Passing a parameter by address involves using pointers. Yes, those horrible little things that you hated/hate whilst you learnt/are learning C, C++. The idea of pointers is hard to understand and the most common thing novices will say is “Why learn pointers?” Well, this is one of those reasons to learn them. PBA relies completely on pointers and…"Passing Arguments By Address In C++"
HOW TO SECURE YOUR ACCOUNT BY MAKING A KILLER PASSWORD A password is a collection of characters used to verify the identity of a user during the authentication process. Passwords are used in association with a username. They are created to be known only to the user and allow that user to gain access to a device, application or website. Passwords can vary in length and can contain letters, numbers and special characters. Other…"Tips on How to Secure Your Account By Making A Killer Password"
PostgreSQL-ORM is an Object Relational Mapper (ORM) that complements Simple. It knows how to map high-level operations to PostgreSQL flavored SQL for Haskell types that are instances of the Model type-class, as well as perform join operations on associations between Model instances. Declaration Creating a Model in Haskell is easy. We simply declare a datatype using record syntax, include a field of type DBKey to hold the primary key and let Haskell Generics do the rest:…"PostgreSQL ORM"
This getting started tutorial will get you up and running with a basic web application. At the end you will know how install Simple how to create a Simple application from scratch the structure of a Simple application how to add persistence with PostgreSQL. Guide Assumptions This guide assumes you have a working version of the GHC Haskell compiler, the cabal package manager and an up-to-date version of the PostgreSQL database. The best way to…"Getting Started Tutorial: Simple Basic Web Application"
Simple comes with support for the embedded templating language defined in the package simple-templates. Templates let you embed dynamic content in HTML, JSON or any other text format you return in your responses. Using with a Simple app Adding template support in your app is as easy as declaring an instance ofHasTemplates for your app settings:
<span class="kw">import </span><span class="dt">Web.Simple.Templates</span>
<span class="kw">data</span> <span class="dt">MyAppSettings</span> <span class="fu">=</span> <span class="fu">...</span>
<span class="kw">instance</span> <span class="dt">HasTemplates</span> <span class="dt">MyAppSettings</span>
HasTemplates has default definitions for all of its methods. However, in most cases you’ll probably want to override…"Simple Templates"