Skip to content

Commit

Permalink
Linking ToDo-List to Avalonia.Samples (#487)
Browse files Browse the repository at this point in the history
* Linking ToDo-List to Avalonia.Samples
* remove also localized tutorial
* fix 0.10.x docs
* remove old tutorial as new users shouldn't start learning 0.10.x
  • Loading branch information
timunie authored Jun 17, 2024
1 parent 59670f1 commit a962ed6
Show file tree
Hide file tree
Showing 79 changed files with 26 additions and 5,103 deletions.
2 changes: 1 addition & 1 deletion docs/concepts/ui-composition.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Another use for a user control is as a component control (above, right). You mig
## Tutorial

:::info
In the 'To Do List App' tutorial you will learn about how to add user controls as page views; and how to use a repeating layout control to present a collection of items with data templates. Try the tutorial [here](../tutorials/todo-list-app/).
For tutorials about `DataTemplates` see [Avalonia.Samples](https://github.com/AvaloniaUI/Avalonia.Samples/tree/main?tab=readme-ov-file#%EF%B8%8F-datatemplate-samples).
:::

## Collection Controls
Expand Down
2 changes: 1 addition & 1 deletion docs/get-started/learn-more.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ If you are confident with the material in this section, you could:
* Investigate the MVVM concepts [here](../concepts/the-mvvm-pattern/).
* Explore _Avalonia UI_ styling [here](../basics/user-interface/styling).

Your recommended next practical step is to tackle the 'To Do List App' tutorial [here](../tutorials/todo-list-app/).
Your recommended next practical step is to tackle the 'To Do List App' tutorial [here](https://github.com/AvaloniaUI/Avalonia.Samples/tree/main/src/Avalonia.Samples/CompleteApps/SimpleToDoList).

:::info
For a full list of Avalonia tutorials, see [here](../tutorials).
Expand Down
12 changes: 6 additions & 6 deletions docs/tutorials/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ This section has practical tutorials that are designed to help you learn _Avalon

## To Do List App

A simple to do list application using the Model View View-Model (MVVM) pattern, with binding to a collection and _Reactive UI_ programming, from which you will meet:
A simple to do list application using the Model View View-Model (MVVM) pattern, with binding to a collection, from which you will meet:

* `RaiseAndSetIfChanged`
* `ReactiveCommand`
* `IObservable<>`
* `Observable.Merge()` with `Select()`, `Take()`, and `Subscribe()` methods.
* How to use Bindings
* How to use Commands
* Some basic Styling
* Some very basic I/O operations

This is a very good introduction to the MVVM and _ReactiveUI_ techniques recommended for _Avalonia UI_ programming. Follow the tutorial [here](./todo-list-app/).
This is a very good introduction to the MVVM pattern recommended for _Avalonia UI_ programming. Follow the tutorial [here](https://github.com/AvaloniaUI/Avalonia.Samples/tree/main/src/Avalonia.Samples/CompleteApps/SimpleToDoList).

## Music Store App

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/music-store-app/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ In this tutorial you will create a desktop app based on the idea of a music stor
In this tutorial you will use the MVVM pattern with the _ReactiveUI_ framework to manage multiple application windows. Also you will use advanced asynchronous techniques to implement the album search and other features, so that application responsiveness is maintained.

:::warning
This is a more advanced tutorial. The 'To Do List App' is a recommended prerequisite if you have limited experience with the MVVM pattern. Read about the 'To Do List App' tutorial [here](../todo-list-app/).
This is a more advanced tutorial. The 'To Do List App' is a recommended prerequisite if you have limited experience with the MVVM pattern. Read about the 'To Do List App' tutorial [here](https://github.com/AvaloniaUI/Avalonia.Samples/tree/main/src/Avalonia.Samples/CompleteApps/SimpleToDoList).
:::

:::info
Expand Down
44 changes: 0 additions & 44 deletions docs/tutorials/todo-list-app/add-a-data-context.md

This file was deleted.

144 changes: 0 additions & 144 deletions docs/tutorials/todo-list-app/add-item-buttons.md

This file was deleted.

88 changes: 0 additions & 88 deletions docs/tutorials/todo-list-app/adding-new-items.md

This file was deleted.

31 changes: 0 additions & 31 deletions docs/tutorials/todo-list-app/conclusion.md

This file was deleted.

Loading

0 comments on commit a962ed6

Please sign in to comment.