Java Home 项目创意

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3651530/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-14 03:11:05  来源:igfitidea点击:

Java Home Project Ideas

java

提问by Dananjaya

I'm learning Java these days by reading Head First Java 2nd Edition. In order to further strengthen the concepts I learned as well as to keep them sticked to my brain I decided to do some small scale Java projects. I thought of a one project which basically catalogs the books I have by Genre, Author etc. Can readers of SO suggests some more ideas of this kind? They need to be beginner friendly as well as should present the chance of learning something while doing it. Any links to sites which supply these kind of project ideas are welcome also. I google'd few search terms but hasn't been successful.

这些天我正在通过阅读Head First Java 2nd Edition 来学习 Java 。为了进一步强化我学到的概念并让它们牢牢记住,我决定做一些小规模的 Java 项目。我想到了一个项目,它基本上按流派、作者等对我拥有的书籍进行分类。 SO 的读者能否提出更多此类想法?他们需要对初学者友好,并且应该在这样做的同时提供学习某些东西的机会。也欢迎任何指向提供此类项目想法的站点的链接。我用谷歌搜索了几个搜索词,但没有成功。

采纳答案by Sean

From teaching experience I learned that once you come up with 1-2 project ideas you can always expand on each project. to take your original idea of cataloging your books. There are multiple projects which can spawn from this one concept over time.

从教学经验中我了解到,一旦您提出 1-2 个项目想法,您就可以随时扩展每个项目。采纳您对书籍进行编目的原始想法。随着时间的推移,有多个项目可以从这个概念中产生。

  • Start with your simple command driven application using some basic OO techniques.
  • Add in some Interface and Abstract classes to recreate the same project.
  • Store your information in a persistence layer. (File I/O)
  • another project could focus on GUI development.
  • Add a database layer.
  • Refactor the application to be built with ant
  • Add in some JUnit testing.
  • Learn Web based programming and convert your existing project to servlets.
  • Convert the project to Struts (or some other framework)
  • Now add Hibernate techniques to strengthen your application
  • 从使用一些基本 OO 技术的简单命令驱动应用程序开始。
  • 添加一些接口和抽象类以重新创建相同的项目。
  • 将您的信息存储在持久层中。(文件输入/输出)
  • 另一个项目可以专注于 GUI 开发。
  • 添加数据库层。
  • 重构要使用ant构建的应用程序
  • 添加一些 JUnit 测试。
  • 学习基于 Web 的编程并将您现有的项目转换为 servlet。
  • 将项目转换为 Struts(或其他一些框架)
  • 现在添加 Hibernate 技术来增强您的应用程序

The programming concepts don't always have to be used correctly in these demo applications. It is just a matter of you finding a creative way of using the abilities you learned. From your original concept you could redesign your application to fit into dozens of projects along the way. Your idea can stay the same, just how you develop it changes. Along the way you learn how important code reuse is. The important thing is that you are always learning.

在这些演示应用程序中,不必总是正确使用编程概念。这只是你找到一种创造性的方式来使用你学到的能力的问题。根据您的原始概念,您可以重新设计您的应用程序以适应数十个项目。你的想法可以保持不变,只是你如何发展它。在此过程中,您将了解代码重用的重要性。重要的是你一直在学习。

回答by Preet Sangha

I would truly suggest a project where you will not only write the software, but where it's function is something you need or would like the computer to do for you. This will keep up your interest and you'll learn far more if you've got a real problem to solve.

我真的建议一个项目,你不仅要编写软件,而且它的功能是你需要或希望计算机为你做的事情。这将保持你的兴趣,如果你有一个真正的问题需要解决,你会学到更多。

For example if you do a lot of exercise, then you may choose to write a project that helps you track how much exercise you're doing and how fit you're getting (or not!).

例如,如果您进行了大量锻炼,那么您可以选择编写一个项目来帮助您跟踪您进行了多少锻炼以及您的健康状况(或不健康!)。

回答by Liran

You can build Garage Manager Software (that was my first app) at first build the logic (customers , cars , car treatments,reports ,etc...) functionality later build UI that uses this logic. the last step is to fetch DB to the project.

您可以先构建 Garage Manager 软件(这是我的第一个应用程序),首先构建逻辑(客户、汽车、汽车处理、报告等...)功能,然后构建使用此逻辑的 UI。最后一步是将 DB 提取到项目中。

回答by Mchl

If you're more into solving math related problems there's Project Euler for you: http://projecteuler.net/

如果您更喜欢解决与数学相关的问题,那么 Project Euler 适合您:http: //projecteuler.net/

It will also require you to learn basic API for handling large numbers, converting between data types, accessing files etc.

它还需要您学习用于处理大量数据、在数据类型之间转换、访问文件等的基本 API。

回答by Pola Edward

You can join the Go Bible project which is a bible for java enabled mobile phones and provide the bible in many translations

您可以加入 Go Bible 项目,这是一部适用于支持 Java 的手机的圣经,并提供许多翻译版本的圣经

You can join the project and develop it

您可以加入该项目并进行开发

OR

或者

If you don't have enough experience in J2me you can make an interface to it to be easy for the user to set all options through the interface and you run the creator which is command line program and pass the options to it

如果您在 J2me 方面没有足够的经验,您可以为其制作一个界面,以便用户通过界面轻松设置所有选项,然后运行作为命令行程序的创建者并将选项传递给它

Also you can embed a text to XML converter in your GUI to make it easy to convert text files to Go Bible format

您还可以在 GUI 中嵌入文本到 XML 转换器,以便轻松将文本文件转换为 Go Bible 格式

I can help you with ideas and code resources as i started in such project before but using C#

我可以帮助您提供想法和代码资源,因为我之前在此类项目中开始使用 C#

But i have good resources for java too covering all you will need in such program

但是我也有很好的 Java 资源,涵盖了您在此类程序中所需的所有内容

Links http://gobible.jolon.org/http://gobible.jolon.org/developer/welcome.htmlhttp://www.crosswire.org/gobible/

链接 http://gobible.jolon.org/ http://gobible.jolon.org/developer/welcome.html http://www.crosswire.org/gobible/

回答by Josmas

Writing code while you learn is a great idea but also a good one is to READ code. The more you read, the better you will write. If you have a look at places such as sourceforge or github you can find tons of Java projects that you can inspect. You could also find a good few ideas for your own project there.

在学习的同时编写代码是一个好主意,但阅读代码也是一个好主意。你读得越多,你就会写得越好。如果您查看诸如 sourceforge 或 github 之类的地方,您可以找到大量可以检查的 Java 项目。您还可以在那里为您自己的项目找到一些不错的想法。