Hi Pouyan,
You can use Orbeon Forms in two main different ways: you can write XForms by hand or use Form Builder. When you're writing forms by hand, you're a "programmer", have all the control of what you're building, edit files by hand on disk. When you're using Form Builder, you don't need to be a programmer, and the runtime provides a lots of features for you out-of-the-box (forms management, persistence, …).
Some examples are build with Form Builder, others by hand in XForms, and everything you see under resources/apps is in the latter category. Right now Form Builder doesn't support writing data to disk. It could be done, but isn't very practical beyond development cases where you're the only one on your box.
Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet