Home Database Mysql Tutorial 机房收费合作版总结

机房收费合作版总结

Jun 07, 2016 pm 04:10 PM
cooperate Summarize us TOLL

机房合作版到了尾声,看着我们每天的记录,有太多的成长。不知道是不是大家的通病,在一件事情开始之前,总把它设想成多么艰难,自己绊着自己的脚,渐渐相信了原来恐惧本身才是最恐惧的事情,之前看他们合作使用的工具,高大上,给人一种不容易接近的感觉,

机房合作版到了尾声,看着我们每天的记录,有太多的成长。不知道是不是大家的通病,在一件事情开始之前,总把它设想成多么艰难,自己绊着自己的脚,渐渐相信了原来恐惧本身才是最恐惧的事情,之前看他们合作使用的工具,高大上,给人一种不容易接近的感觉,一旦自己经历才有资格说和别人感同身受。这次合作感触很多,不管对我的学习和交流都是一种提高。

这是我们合作的第一个项目,作为组长不知道是我的幸运还是不幸,开始真的压力山大,虽然个人重构也是结束没多久,现在可是三人合作共同去完成,还是无从下手,不知道第一步要干什么,SVN视频看完了也还很模糊,开始总是很沉重的,但日子还是要继续,就去找师父,知道谁合作完了就和他们交流每个阶段都注意些什么。于是制定了第一个计划(11月4号-12月4号),计划每天晚上着手合作的事情,发现四五天过去了,没什么进展,7号晚上第一次开会只是将计划说了一下,分了一下工,我负责画用例、类图和时序图,金博负责设计数据库,然后代码就负责D层,春阳负责原型图,加上U层代码,最后B层就分配到了我,可是发现画图时一些类的方法的参数不知道如何定义,这时才感觉需求分析真的很重要,也很必要,我们拿出一晚上时间把每个功能用到的方法、方法传递的参数和返回的类型还有数据库中用到的每张表,每张表的字段和类型讨论了一下,然后我在画类图的时候不再用纠结,后来一次和文康师哥聊天,指导了我们每个阶段注意的问题,稍改变了一下计划,合作的事情不能这么拖着,团结起来一口气完成,挺有道理的,于是修改了计划,接着之前,制定了10天的计划(画图3天,代码实现3天,调试3天,补充文档1天),安排每个人每天任务,我主要还是画图,金博负责数据库设计,春阳负责研究设计模式的使用。

大概用了1天半,不过完善类图差不多用了2天,这里最大的感悟就是为人民服务绝不是口号,合作框架还是三层思想,但这次每层的类都是EA自动生成,看着生成后的类,知道有了表头、类、方法、参数等着这些注释才舒服些,真的是画图时如果细腻些,组员就会减少一些工作量,这也是应该的,画时序图大概用了1天多,类图定义好的话,时序图相对容易很多,不过对于一些逻辑判断自己也拿不准,这次我很幸运当了组长,又很幸运负责B层代码,个人重构验收时师哥说我三层理解有问题,不会抽象,我当时真的不理解,也不知道自己问题出在哪里,通过这次画图,我明白了B层调用工厂创建接口,还要调用接口的方法,其实就是调用D层方法,而之前我直接返回接口就完事了,然后在U层调用接口的方法,直接和数据库打交道,没有达到解耦的目的,终于对逻辑判断有了一点点理解,记得个人重构总结时说一些遗留问题等到合作时来弥补,有些东西是到了一定阶段才慢慢理解。这个阶段金博主要建立数据库和使用的一些存储过程、视图的编写,春阳主要查资料我们使用的策略、职责链、模板、抽象工厂、外观等模式如何使用,如何体现在类图上,当然原则上每天开会,不过有时有问题也随时交流去解决。

有了EA生成的类图,建立好项目,这些类要包含在项目中,系统框架就成型了,他们看着图和文档,写代码简直是太容易的事情了,写代码大概用了2天时间,中间也遇到很多事情,SVN使用不熟练,有时一个人在修改文件,另一个更新提交就会出现冲突,只能退回到之前版本,在工具的使用上,也请教了不少同学,在这里除了了解SVN的更新和提交代码功能,还代码随时备份的思想。我负责的B层代码,最纠结的应该算是设计模式的添加了,个人重构时下机没有使用策略,这次我们决定一定要加上,再加上职责链的使用,每个类中的方法不知如何下手,跟春阳也讨论了不止一两次,也搜了很多他们博客,等实现以后走一遍代码发现其实也就那么一回事,很难说一个人的潜力有多大。

调试代码在我看来是最有意思的阶段了,如果不是自己亲眼看到绝对不会相信是自己写出来的,最容易出现问题的几乎是D层SQL语句拼错,参数没有赋值,也有命令类型错误等,还有就是U层有时没有赋值,也有一些思路的差别,比如充值之前要返回一个卡的金额,充值之后也要返回一个金额显示,开始是写到B层充值方法里面,后来发现返回的类型U层满足不了,不得已将卡的判断返回到U层,然后再充值。调试阶段也是很好的交流机会,你可以看到他们思考问题的方式,春阳比较善于思考,思路很灵活,而我就是很依赖网络,比如下机计算消费时间,出错了就去网上找方法,而不是自己先去思考,这也是一种习惯吧,之前总是说靠自己,原来靠自己是先靠自己大脑,然后再借助巨人肩膀,这样应该会更加深刻;金博很有耐心,很会为知识结网,而且他学习一个东西比较踏实。毕竟是三个人写的代码,调试中各种问题,调试也是时间最长的。总之,相信自己,更要相信代码。

这次合作,让我看到之前自己漏掉的东西,比如画图的规范,比如策略模式,比如如何在B层逻辑判断,而且现在是三个人一起完成,我所做的就不能只考虑一个人,你在一个团队中,领导一个团队,交流沟通很重要,自主去付出更重要。只要去做总会进步的。

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Summarize the usage of system() function in Linux system Summarize the usage of system() function in Linux system Feb 23, 2024 pm 06:45 PM

Summary of the system() function under Linux In the Linux system, the system() function is a very commonly used function, which can be used to execute command line commands. This article will introduce the system() function in detail and provide some specific code examples. 1. Basic usage of the system() function. The declaration of the system() function is as follows: intsystem(constchar*command); where the command parameter is a character.

Do I need to pay to use Windows 10? Do I need to pay to use Windows 10? Dec 27, 2023 pm 05:28 PM

Many friends want to install the latest win10 system on their computers, but many users of genuine win10 still don’t know the specific charges on the official website. Well, as far as the editor knows, there is a fee for downloading the system from Microsoft's official website, which ranges from one hundred yuan to one thousand yuan depending on the version. Does genuine Windows 10 cost money? Answer: Genuine Windows 10 costs money. You need to get an activation code after purchasing, and then activate it in the system. Genuine Windows 10 price details: 1. Windows 10 Home Edition price: 888 yuan 2. Windows 10 Professional Edition price: 1,799 yuan 3. Windows 10 Home Edition to Professional Edition upgrade package price: 879 yuan 4

How much does it cost to call a ride on Lalamove? Lalamove's detailed fare standards for taxi hailing! How much does it cost to call a ride on Lalamove? Lalamove's detailed fare standards for taxi hailing! Mar 15, 2024 pm 09:43 PM

1. How much does it cost to call a ride on Lalamove? Lalamove’s detailed fare standards for taxi hailing! The starting price for hailing a ride on Lalamove ranges from 30 to 280 yuan, and the starting mileage is 5 to 15 kilometers. Highway fees and parking fees are charged separately based on receipts, and users need Lalamove to help unload the goods, and the labor to pick up the goods is also charged separately. , the following are the detailed standards: 1. Small van (load 500 kg), 30 yuan/5 kilometers, 6 kilometers and above are charged 3 yuan/km. 2. Medium van (load capacity 1 ton), 50 yuan/5 kilometers, 6 kilometers and above are charged 4 yuan/km. 3. Small truck (load capacity 1 ton), 55 yuan/5 kilometers, 6 kilometers or more is charged 4 yuan/km. 4. Medium truck (load capacity 1.5 tons), 100 yuan/5 kilometers, 6 kilometers and above 5 yuan/km

How to pay on delivery at Lalamove How to pay on delivery at Lalamove Feb 23, 2024 pm 03:00 PM

How can Lalamove charge a collect fee? Lalamove can be set to pay on collect, but most friends don’t know how to use Lalamove to set it to collect. Next, the editor brings Lalamove to players. There is a graphic tutorial on the pay-as-you-go method. Interested players can come and take a look! How to charge Lalamove on delivery? 1. First open the Lalamove APP and select the car model you need on the main page; 2. Then choose to fill in the delivery address you need to reach; 3. Then enter the location shown in the picture below and click Click the [Confirm Unloading Address] button in the lower right corner; 4. Finally, click [Use Car Now] on the payment order page, and click [Pay on Collect] on the official payment page.

How to enter Douyin Mall? How much does it cost to move in? How to enter Douyin Mall? How much does it cost to move in? Mar 07, 2024 pm 07:16 PM

In the era of mobile Internet, e-commerce platforms have become one of the important channels for merchants to promote and sell. As the leading short video social platform in China, Douyin Mall has become one of the preferred platforms for many brands and merchants with its huge user base and strong traffic advantages. 1. How to enter Douyin Mall? If you want to settle in Douyin Mall, you first need to download and install Douyin APP, and register a Douyin account. Then, enter the official website of Douyin Mall and click the "Sign in" button. On the settlement application page, fill in relevant information, including company name, industry, contact information, etc. At the same time, relevant documents need to be submitted, such as business license, tax registration certificate, etc. These steps are all to verify the legitimacy and authenticity of the merchant. The merchant is filling in the basic

How to dub in English with friends in fun dubbing Tutorial on dubbing in English with friends in fun dubbing How to dub in English with friends in fun dubbing Tutorial on dubbing in English with friends in fun dubbing Mar 12, 2024 pm 04:04 PM

How can you cooperate with friends in English Fun Dubbing? In the English Fun Dubbing app, users can freely choose their favorite film and television clips for dubbing. Some film and television clips have dialogues. Generally, one person can complete the dubbing. But if the user wants Inviting friends to dub together is also a very good choice! This app supports multi-person dubbing. Multi-person dubbing of some dialogue and interactive clips can also make users more immersed, and the dubbing effect can be better, then How to perform cooperative dubbing? Let’s take a look! How to cooperate with friends in English dubbing. Open the English fun dubbing software and click Start dubbing to enter the dubbing interface. Click on the mode setting in the upper left corner of the dubbing interface, as shown in the figure. Click to turn on the cooperation mode to successfully cooperate

Does Amap DIY map charge?_Introduction to whether Amap DIY map charges or not Does Amap DIY map charge?_Introduction to whether Amap DIY map charges or not Apr 01, 2024 pm 03:06 PM

1. All functions in Amap DIY Map are free of charge. 2. It includes the functions of marking locations, making routes, and recording footprints, all for free. 3. You can also view DIY maps shared by other users, which are also completely free. 4. In fact, the Amap software is free, and its positioning, navigation and other functions are also free to use. How to delete the Amap DIY map 1. Enter the DIY map and click the [Settings] button on the upper right. 2. Click the [Content Management] option. 3. Click on the three points on the right side of the route, as shown in the picture. 4. Then click [Delete] below.

Smart cockpit, autonomous driving - Changan Automobile and Tencent launch new cooperation Smart cockpit, autonomous driving - Changan Automobile and Tencent launch new cooperation Jul 16, 2023 pm 05:30 PM

According to news on July 11, Changan Automobile and Tencent recently announced the signing of an agreement to deepen strategic cooperation. The two parties stated that they will further strengthen cooperation in various fields such as smart cockpits, navigation and maps, autonomous driving, overseas ecology and enterprise digital transformation, and jointly promote the quality improvement of digital transformation. According to the editor's understanding, Changan Automobile and Tencent have cooperated to establish a joint venture called "Wutong AutoLink". In terms of smart cockpits, the two parties will use the company as a basis to accelerate the promotion and application of Tencent's new products and services in Changan Automobile. These new products and services include city-level digital twin experiences based on maps, smart cockpit products based on large models, and AI digital humans based on scene engines. At present, the cooperation between Changan Automobile and Tencent

See all articles