简单的酒店前台系统。 [英] Simple Hotel Front-Desk System.

查看:74
本文介绍了简单的酒店前台系统。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是给我的朋友的。他是一名HRM学生,并被分配到如何操作简单酒店前台系统的演示。


我在网上搜索过他的帮助,但所有这些免费软件很难处理和操作.....


我的最后一个选择是为他创建一个程序。

易于部署,无需维护版本。

第一个版本是通过纯文件处理来实现它

其次是使用数据库。


(在学习java时增加我的经验)


我现在开始@第一版

我正在设计这个程序,我称之为简单酒店前台系统。


每个客人的数据中应该处理17个值


例如。完整的客人姓名,联系电话等等.....


我首先想到的是用几个阵列实现它们

目的是小心操纵它们(实验)


我怀疑在更安全的操作中重新实现它的其他选择。


你能建议吗?我的专家?关于如何实现它更安全?

也许arraylist,但对我而言,如果主要值(数据库中的主键)将是更新其中的值,则实施起来会更加繁重位置改变


这是第一个版本,纯文件处理


等待你的回复,

sukatoa

解决方案

从来没有走过那些愚蠢阵列的路线:

展开 | 选择 | Wrap | 行号< /跨度>


永远不要走那些愚蠢阵列的路线:

展开 | < span class =codeLinkonclick =selectAll(this);>选择 | Wrap | 行号



好​​的,我正在去hashmap的路上.....谢谢....


这个程序'' s最大数据集输入限制为100.


如果我实现了一个使用Collat​​or将其设置为PRIMARY强度来比较所有这些数据的类,这是可以的吗?

(黑名单搜索功能用途)


我害怕即时启动agai不好主意......希望不要.....


感谢您的回复Jos,

这真的有助于



距离我只有几个街区的小酒店;它有120个房间,所以我不能把你的软件卖给他们吗?多么愚蠢......


大多数时候想法都不错,这是非常糟糕的实施。

更好地考虑一下在你开始考虑漂亮的数据结构之前,首先要考虑你的对象模型




亲切的问候,


Jos


This is for my friend. He is a HRM student and was assigned to demo on how to operate a Simple Hotel front-desk system.

I''ve searched on the net to help him, but all of those freeware softwares are difficult to handle and manipulate.....

My last option is to create a program for him.
Easy to deploy and no hustle to maintain version.
First version is to implement it through "Pure file handling"
Second is to use a database.

(Adding to my experience while learning java)

Im now starting @ first version

Im now designing this program which i call it Simple Hotel Front-Desk System.

There are 17 values that should be handled in every guest''s data

eg. complete guest''s name, contact numbers etc.....

What came first on my mind is to implement them with few arrays
The purpose is to manipulate them carefully ( an experiment )

I doubt about the other options to reimplement it in a safer handling.

Can you advice me experts? about how to implement it more safer?
Maybe arraylist, but for me it is more heavy to implement when it comes to updating those values inside of it if the primary value ( primary key in database ) will be changed in position

This is for the first version, "pure file handling"

Im waiting for your replies,
sukatoa

解决方案

Never, ever go the route of those silly arrays:

Expand|Select|Wrap|Line Numbers


Never, ever go the route of those silly arrays:

Expand|Select|Wrap|Line Numbers


Ok, im on my way to hashmap..... Thank you....

This program''s max data set input is limited to 100.

It is ok if i implement a class that uses Collator setting it into PRIMARY strength to compare all of those datas?
(For Black List Search Feature purposes)

Im afraid im starting again a bad idea... hope not.....

Thanks for your reply Jos,
It really helps

There''s a small hotel just a few blocks away from me; it has 120 rooms so I can''t
sell them your software then? How silly ...

Most of the time ideas aren''t bad, it''s the implementations that are extremely bad.
Better think about the requirements a bit more and think about your object model
first before you start thinking about nifty data structures.

kind regards,

Jos


这篇关于简单的酒店前台系统。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆