Tin Can API and courses - tin-can-api

I'm new to Tin Can API, I decided to begin with the tin can driver and i followed these steps http://tincanapi.com/driver-quickstart/ but what I can't find or understand is how can I add a pdf or a powerpoint to the content of the driver, I mean anything other than html files. I don't know if my question is totally wrong but anyways I would like to understand how can anyone add a course of any type if he can't add other than html files.
Any help or suggestions are appreciated.

A PDF or Powerpoint would be a link inside of the HTML of the course to a file included in the package. Tin Can Driver is a product specifically designed to enable cross standard course building, so use it if you want to be able to easily support Tin Can and SCORM and/or AICC, etc.
If you are specifically targeting just Tin Can then you control how those things are used within the course. Tin Can doesn't really provide for the concepts of packaging and launch. The current de facto standard for those concepts is a set of guidelines published for implementing Tin Can in an LMS. CMI-5 is a working group developing those concepts into a specification.
Also note that in both cases a PDF or Powerpoint may or may not be playable directly in the browser, and for either case you will need to implement the hooks into their interfaces to call the JavaScript API.
HTH.

Related

microdata type for fan levels

When I used the Google structured data markup helper it offered me the category software which seems quite to fit to my website project which offers fan mission downloads for games.
But this category is refering to SoftwareApplication from schema.org. And a fan mission isn't an application. What is your advice I should use?
SoftwareApplication would offer downloadUrl, fileSize, fileFormat, screenshot & softwareVersion which I currently use.
When I use CreativeWork (Which could be anything!) instead I would lost those.
I think you can use CreativeWork and still give it attributes from Software. Once you do that, e.g. to a test page, you can use Structured Data Testing Tool to see how Google recognized your markup:
http://www.google.com/webmasters/tools/richsnippets
Your use case is described in schema.org docs here:
http://schema.org/docs/faq.html#12

Editor for end user documentation in C# WinForm app

I'm developing a WinForm app in c# 4.0 and would like other (non-developer) colleagues to contribute writing a context sensitive end-user helpfile. First I thought I could use "HTML Help Workshop" from Microsoft, but it seems outdated (Vista and Windows 7 not supported).
Then I've looked at Sandcastle, but the documentation is lacking and I wonder if it is suitable for non-technical users to write end-user documentation.
So I read about RoboHelp, but it's way to expensive for me.
I'm getting lost in all the information that is available about helpfiles. Can someone help give some best practices or information on what tools to use and what output format I should target (still chm or other).
Great question. I like your idea of non-developers contributing to the end-user documentation.
This idea might motivate users and testers of your application to easily contribute to the documentation.
The first thing that comes to my mind, is using a some sort of wiki engine. You could build a simple function in your WinForm application, that fires up a browser and directs in to the wiki. You could use the context from which it is called to build up an url; e.g. http://dev-wiki.mycompany.com/LoginForm?action=edit. Here the name of the form ("LoginForm") is used in the url of a wiki page.
Alternatively, you could simply use the embedded web browser control for WinForms to access the wiki. That would look something like:
var url = GetWikiUrl(myForm);
browserControl.Navigate(url);
This would be very easy to embed in your application.
In a controlled (office) environment, this would be very easy to set up. In you production environment it might be a bit more difficult, but still doable. It might leverage some end-user contributions too.
For writing documentation, I use sphinx.
It lets you document in plain text and has various output formats (chm, html, pdf etc.).
Some of these (chm, html) can be used as context-sensitive help sources.
However simple, the sphinx user-interface (text editor and make file) might not be suitable for non-technical users.
I would recommend to use Help+Manual for creating CHM documentation. It's similar to MS Word and any PC user can start to contribute doc development after short education.
But this tool isn't free :(

Wiki Application for CodeIgniter?

I'm looking into doing a project for someone, and they want to implement a wiki into their site. I plan on building the site using Code Igniter, and I was hoping there was some kind of Wiki Application available, but I have not yet been able to find one. Does anybody know of one, or have any suggestions?
I understand that you might want to learn to implement a large-scale app in CodeIgniter. However, in the case of a wiki, don't re-invent the wheel! There are tons of already available wiki software for you to use.
A few of the best that are written in PHP include:
PmWiki
dokuwiki
MediaWiki (used by Wikipedia)
This way you can integrate these well produced systems, which have a wealth of documentation to your advantage. Instead of wasting time creating the entire wiki from scratch, you can just integrate the rest of your CodeIgniter application into one of these ready-made offerings. Saving you some time, learning about their inner workings and giving your client/friend a better overall system.
Expression Engine is built on CodeIgniter and includes a wiki module.
It's not in CodeIgniter, but you can include the classes in the Text_Wiki PEAR package.
The PEAR page has almost zero documentation, but there seems to be a lot of information here.
This will just do the conversion of wiki markup to html. You have to do the image uploads, page views, permissions, etc yourself.

More examples of Prism (Composite Application Library) Applications?

The examples that Microsoft's Patterns and Practices provides are quite helpful:
about a half-dozen simpler QuickStarts which touch on specific issues
the StockTrader reference implementation, which is a fairly rounded application
but it lacks a more useful base application that reads and writes to a data source (XML or database), allowing users to login, edit data, logout, etc. (something like what ASP.NET MVC comes with).
Since Prism applications can get quite complex and lengthy (the StockTrader example is almost 300 files without tests), it would be helpful to have an application that takes care of the CRUD bulk that everyone needs to build for most apps anyway.
Does anyone know of any data-editing Prism example apps out there?
Here (http://petedoesstuff.net/Blog/?p=79) you'll find a bunch of links to the samples of using the Prism.
Particularly, LateNight (http://code.google.com/p/cwpfsamples/) may be what you need. It has login screen and data editing functions.
Its feedback I've seen a lot of. I'll pass this onto the Team and see if we can get some more examples put online around this space.
I'm currently writing my own demo app now, so i'll also try and put that online via my blog.
Scott Barnes - Rich Platforms Product Manager - Microsoft.
The reason data access was left out of the Prism RI is because it is largely irrelevant to Prism. I would think you're better off looking at something like DinnerNow for those kind of things.

Any Metadata driven UI sample code?

I am in the process of designing a .net windows forms application that uses metadata to drive the UI. Apart from finding http://msdn.microsoft.com/en-us/library/ms954610.aspx, I have nothing much to look forward to. Anyone here worked on metadata driven User interfaces? What are the implications of following this methodology and any pointers would be greatly helpful.
The most obvious answer would be that Microsoft have themselves embraced this concept through their use of Xaml in Windows Presentation Foundation which replaces WinForms (to an extent).
If you want to stick to a WinForms, you may want to consider MyXaml which is kind of a homage to Xaml for WinForms!
You may want to check out Evolutility CRUD framework. It is an open source metadata driven framework for CRUD generating all UI at run-time.
It comes w/ source code (in C# and JS) and many samples.
http://www.evolutility.org
You may try this with HTA. Sometime back I created a metadata driven application using HTA and XML. I created XAML like structure and HTA-VBScript code to parse this structure and render diffent types of UI elements along with validations.
Check the Andromeda project out, which does so extensively. Too bad the stack isnĀ“t .NET friendly (PHP, Postgres, Perl).

Resources