R
R
Ruslan Gilzidinov2014-10-03 20:58:06
Java
Ruslan Gilzidinov, 2014-10-03 20:58:06

How to start developing a task manager in Java?

Hello.
I am currently learning Java. At this stage of the study, I plan to start developing something real, and not continue to further practice with the console and files.
Swinged high. I want to write my online TaskManager for myself. A lot of ideas and chips, work on which should give me experience. There are ideas to make a plan feed, a calendar, support for user registration and many more ideas.
The problem is, I don't know where to start. I have sufficient basic knowledge of the language, OOP, web. Worked for about a year as a coder. However, I have absolutely no idea of ​​the architecture of such a project, since I have not dealt with real projects. I understand that I swung high, and it's still too early for me, but there is plenty of time, so I think I'll deal with everything.
I can solve local issues, but still in general I have no idea where to start. Advise, please, material. Maybe some materials on writing an online store or a mini social network. So that I have an idea where to start.
Thank you very much in advance.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
vlad20012, 2014-10-03
@vlad20012

There are 2 big problems. Firstly, "specialists" at your level usually write in some kind of PHP, and you can find tons of information about developing similar projects in PHP. Information on Java is much more difficult to find, because if you write in Java, then you are by default an expert, and you do not need to explain such "simple" things. Secondly, those who really understand this will most likely throw off a bunch of unpronounceable names for you, like EJB, JSP, JSF, Spring, Hibernate and so on and so forth, because these are exactly the technologies and frameworks that java- developers.
Personally, I think (i.e. IMHO, right?) that it is absolutely contraindicated for a novice developer to use any third-party libraries and frameworks. Standard library only, vanilla java only, hardcore only. This is the only way to understand how it actually works there, and become a really good specialist, not a framework developer . By the way, apropos "to exercise with the console and files". I don’t know what books you read, but usually everything you need is consistently stated there, from the console and files to GUI and WEB applications. For example, there is an excellent book by Schildt ... in general, I still recommend reading it, and not immediately rushing into battle.
But I'm sure you, of course, will not heed the previous advice. So what about the creation of WEB-applications. Look in the direction of the servlets API. As I said initially, it is quite difficult to google something sensible, especially in Russian. Maybe someone below will throw a good article. Install a JavaEE IDE and write a simple servlet. With it, you can accept HTTP requests from clients and send responses. And what happens next depends on your knowledge of the structure of WEB applications, which I have no idea about. And articles with an emphasis on Java somehow ... In short, usually they don’t start their way in WEB development with Java.

K
Kir, 2014-10-03
@angry_bender

Well, you already know everything. Do you have a TK as such, a way even in your head? There are for sure.
So, as a software engineer, you can highlight the main entities with which you will work. Entities will correspond to classes in the code. Then we take the ideology of CRUD and REST - a set of basic operations on objects: create, modify, select a list, select an entity, delete.
You add additional operations through services, like search and so on.
Add authorization.
Spring studied? There dofiga ready-made services for all occasions.
Web interface, respectively: take AngularJS, there is also DI. Convenient work with REST and data.

A
Andrey Svininykh, 2014-10-09
@Svininykh

I absolutely agree with vlad20012, it is right to do as he wrote. There are practically no materials on JavaEE in Russian, but for those that are available for your task, you need several years to study. But as initial materials, I can recommend JavaEE lessons in NetBeans IDE , when I got a question similar to yours, they helped me.
Of the relatively simple frameworks, I can recommend Stripes , the only book on it is Stripes: ...and Java Web Development Is Fun Again Look for an electronic version somewhere on the net, but unfortunately again in English.

S
spoki, 2014-10-09
@spoki

Actually I don't agree with vlad20012. Java is not so easy)
Many web applications consist of the following parts:
DAO - layer for data access. for you it will most likely be a database, so you will want to learn the following technologies: jdbc - write sql queries to the database and get the result (native sql), and some kind of ORM technology, the most popular is Hibernate.
Next comes the services layer - this is the so-called business logic layer. To make it clear, for example, it can combine method calls from DAO under one transaction.
well, then comes the UI in your case, this is a web layer - a set of servlets and jsp files. servlets accept http requests, cause business logic to work and return a response. If the answer is html then you will need some kind of engine to generate html. the default is jsp, but there are a bunch of other templating engines out there.
and now for the plushies. There is such a good thing as the spring framework. in your case, it will help you at all stages of development. for studying there is a very good book spring in action 3rd edition.
and of course you have to learn how to use the build system, either maven or gradle.
By the way, it is better to separate each layer into a separate module (subproject) in the build system.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question