#1 2017-01-20 06:40:35

abnershr
Member
Registered: 2017-01-20
Posts: 4

Start from scratch

Imagine, I did already read full 2000 pages document.

Now, I need to start.

Simple as start a full project from scratch.  Simple inventory with invoices.  Some items comes from suppliers and some goes to customers.

About 5 objects:

Inventory  Customers  Suppliers  Invoices Items(inside invoices)  [note: some invoices are from suppliers and some to customers].

You can imagine some fields/properties for these objects.

Nothing more.

Can you help me?

I want to use full mORMot (ORM) with all possible options.

Yeah!  I know, you are not going to do my job!

The full project is bigger than that.  But I want some help to start.

Please, some help.

Appreciated.

Offline

#2 2017-01-20 08:11:52

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,182
Website

Re: Start from scratch

Start again by reading the FAQ
https://synopse.info/files/html/Synopse … l#TITL_123

There are some points here, mainly about the samples.

Offline

#3 2017-01-20 09:11:06

edwinsn
Member
Registered: 2010-07-02
Posts: 1,215

Re: Start from scratch

Wow, you read all those 2000+ pages.

I get started with the simple samples Arnaud did, without reading too much docs in prior, But search and read the doc when I have a problem/question.

IMHO, the basic idea of mORMot is simple, it's just that it includes too much features.


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#4 2017-01-20 14:24:22

abnershr
Member
Registered: 2017-01-20
Posts: 4

Re: Start from scratch

Thanks ab and edwinsn. Your answer are very fast. (sorry my english)

ab: thank you.
edwinsn: Yeah! Is a Wow!  Read fast, memorize a lot.

With more than 30 years developing, some times I feel like a dinosaur.  Started with Delphi 2, then 3, 5, 7, XE, ... and now Berlin. 
There is a lot of software developed using Delphi... and database like dBase, Paradox, Firebird... and so on.

Now, it seems to me very easy to adopt a "new" way to develop.  The mORMot way.

I already check most Samples... very good!
In SynFile project, How can I let mORMot create the Edit by itself?
I mean, not using FileEdit.pas nor FileEdit.dfm.  I just want mORMot generates it.  I know it will be no picture capture.
I am a little lost here.  Please some advice is appreciated.

Thanks

Offline

Board footer

Powered by FluxBB