Front Page All Articles Recent Changes Random Article

Contents

Concatenative language

  • ACL
  • Ait
  • Aocla
  • Breeze
  • Cat
  • Cognate
  • colorForth
  • CoSy
  • Deque
  • Elymas
  • Enchilada
  • ETAC
  • F
  • Factor
  • Forth
  • Freelang
  • Gershwin
  • Joy
  • Kitten
  • lang5
  • Lviv
  • min
  • mjoy
  • Mlatu
  • Ode
  • Om
  • Onyx
  • Plorth
  • Popr
  • Porth
  • PostScript
  • Quackery
  • r3
  • Raven
  • Retro
  • Staapl
  • Stabel
  • Trith
  • Worst
  • xs
  • XY
  • 5th
  • 8th

Other languages

  • APL
  • C++
  • Erlang
  • FP trivia
  • Haskell
  • Io
  • Java
  • JavaScript
  • Lisp
  • ML
  • Oberon
  • RPL
  • Self
  • Slate
  • Smalltalk

Computer Science

  • Type systems
  • Language paradigms
  • Compilers
  • Interpreters
  • Garbage collection

Meta

  • Search
  • Farkup wiki format
  • People
  • Etiquette
  • Sandbox

Factor/GSoC/2010/Document-based application framework

Mentor

Joe Groff

Skills required

  • Familiarity with the Factor UI
  • Familiarity with Windows, Mac OS X, and X11 programming

Technical outline

The Factor UI has rudimentary support to report document-based events (such as "New", "Open", "Save", "Cut", "Copy", and "Paste"). There should be a document-based application framework built around these events, similar to the NSDocument framework in the Cocoa API, that manages windows associated with document files.

  • Use native dialogs for Open and Save
  • Track when an open file is moved so that further saves or reverts reference its new location
  • Use OS X's "setRepresentedFilename:" ability to associate document windows with their related files; emulate similar functionality on Windows by looking up and displaying the document icon as the window icon
  • Associate deployed document-based apps with their document types in the deployed Info.plist on OS X
  • Support drag-and-drop of associated document files onto application icons or windows

Benefit to student

The student learns about the Factor UI and gets to design a significant addition to its API.

Benefit to community

It becomes easier to write document-based applications with the Factor UI.

This revision created on Wed, 3 Mar 2010 18:28:29 by jckarter

Latest Revisions Edit

All content is © 2008-2023 by its respective authors. By adding content to this wiki, you agree to release it under the BSD license.