maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   how to learn developing? (https://talk.maemo.org/showthread.php?t=94419)

lorenzo 2015-01-06 10:56

how to learn developing?
 
hello!
i wanted to learn how to develop apps, mainly for sailfishos, but i never did this before...
where i can start from?
is there a sort of list with all layouts and functions needed?

m4r0v3r 2015-01-06 11:04

Re: how to learn developing?
 
check out some helloworld pro in the warehouse. i learned how to do stuff from existing apps since awesome people put on the source on github

cvp 2015-01-06 11:26

Re: how to learn developing?
 
want to lern too, but hard to find a good tutorial in german lang. Nice will be a tutorial for sailfish os :)

pichlo 2015-01-06 12:29

Re: how to learn developing?
 
How are your general programming skills? Are you familar with any programming languages, algorithms, data structures, that kind of thing? If not, then you really need to start from the basics. Otherwise it is just a matter of understanding the UI design. Qt is great since it is easy to acquire and portable, so you can write basic programs to work on the PC with minimal to no work needed to make them work on a mobile device.

If you are past that and are only looking for some tools, have a look at this thread.

coderus 2015-01-06 13:54

Re: how to learn developing?
 
you would like to do some Qt + QML stuff on your desktop before to understand basics. and programming is mostly trial and error, so you just reading other application sources, reading articles, and trying to compile with some modifications. and with some experience you will be able to create apps from scratch.

pichlo 2015-01-06 14:17

Re: how to learn developing?
 
Quote:

Originally Posted by coderus (Post 1455542)
programming is mostly trial and error

If this is how you do programming then you are doing it wrong :)

(EDIT: I think I know what you mean. Discovering things, learning how things work etc. Especially with little or no documentation. But the programming process itself is deterministic.)

lorenzo 2015-01-06 15:24

Re: how to learn developing?
 
i need to start form zero: i just made something about algorithms at university (matlab) but nothing else
can yo suggest me a tutorial or a book to study basics? i found something online but i can't choose which is the best to begin

by the way, i found this online course if someone else is interested https://eliademy.com/catalog/feature...roduction.html i think it's too advenced for me :(

Dave999 2015-01-06 15:28

Re: how to learn developing?
 
1.Start by installning jolla SDK.

2.Then copy hello world code in there

3. Execute

4. Add some new lines and strings, variabels to IT and print it on screen.

5. Do something more.

If you are interested in programming in general and not sailfish applications.... I would suggest you to look a at Java or Python as intro.

rcolistete 2015-01-06 16:01

Re: how to learn developing?
 
Suggestion :
- install Qt 5.4 (or 5.2) SDK targetting desktop PC (Linux, Windows, etc) and practice QML/Qt Quick 2 programming, without C/C++. The SDK has many examples which you can modify to learn by example. QML/Qt Quick 2 is powerful than Javascript and allows programming many things, not just GUI (Graphical User Interface);
- after being at ease with Qt Quick, install Sailfish SDK, which uses Qt 5.2, targetting Sailfish softwares running on emulator or real device. The SDK has some examples which you can modify to learn by example;
- if you think Qt Quick is to simple for your needs, learn C++ to develop the backend (software outside GUI) for Qt softwares. An alternative, instead of C++, is to learn Python 3 & PyOtherSide to use as backend for Sailfish softwares.

aegis 2015-01-06 16:01

Re: how to learn developing?
 
There's a fair number of general Qt tutorials on http://qt-project.org which are probably a good idea to run through prior to starting with Sailfish.


All times are GMT. The time now is 08:43.

vBulletin® Version 3.8.8