上一页 1 ··· 297 298 299 300 301 302 303 304 305 ··· 477 下一页
摘要: Vue models, v-model, allow us to use two-way data binding, which is useful in some cases such as forms. This lesson shows how to use it by creating a 阅读全文
posted @ 2018-08-08 01:48 Zhentiw 阅读(2178) 评论(0) 推荐(0)
摘要: Components can specify requirements for its props, such as the types you’ve already seen. If a requirement isn’t met, Vue will warn you in the browser 阅读全文
posted @ 2018-08-06 01:46 Zhentiw 阅读(467) 评论(0) 推荐(0)
摘要: We mainly need to modify our Model and REST endpoint code to enable swagger Document. model/Book.java: By doing this, we can get each model defination 阅读全文
posted @ 2018-08-06 00:34 Zhentiw 阅读(450) 评论(0) 推荐(0)
摘要: 1. We have the BookEndpoint.java: 2. Creating a test for the REST endpoint: 阅读全文
posted @ 2018-08-04 23:07 Zhentiw 阅读(314) 评论(0) 推荐(0)
摘要: 1. Create a rest folder with JAXRSConfiguration.java: 2. Create Endpoint file: BookEndpoint.java: 阅读全文
posted @ 2018-08-04 22:31 Zhentiw 阅读(498) 评论(0) 推荐(0)
摘要: Vue provide some shortcut methods: @mousemove.stop is comparable to e.stopPropogation() @mousemove.prevent this is like e.preventDefault() @submit.pre 阅读全文
posted @ 2018-08-04 15:38 Zhentiw 阅读(199) 评论(0) 推荐(0)
摘要: So what is a Bean, in JavaEE, any class expect Entity are Bean. One usefully thing in Bean is Dependency injection. Just like Angular, it is just a Cl 阅读全文
posted @ 2018-08-03 02:00 Zhentiw 阅读(256) 评论(0) 推荐(0)
摘要: This lesson shows how you can extend and reuse logic in Vue components using TypeScript inheritance. It will take you through extending a component, i 阅读全文
posted @ 2018-08-02 23:03 Zhentiw 阅读(2840) 评论(0) 推荐(0)
摘要: Code for upload iamges: chooseImage: choose the images to upload previewImage: preview the image and enable slide Upload to the server: 阅读全文
posted @ 2018-08-01 16:45 Zhentiw 阅读(366) 评论(0) 推荐(0)
摘要: When we create Entity and Respority, we also need to do validations to protect our data. In Java, validations are built-in, using decorators. For Type 阅读全文
posted @ 2018-08-01 16:17 Zhentiw 阅读(418) 评论(0) 推荐(0)
上一页 1 ··· 297 298 299 300 301 302 303 304 305 ··· 477 下一页