PHP Coding Standard and 50+ Programming SkillsHo Kim
?
1. How and Why to write good code?
2. Coding standard based on ZendFramework and real world practise.
3. PHP programming skills from daily coding.
4. Some security tips
5. Some optimization tips
PHP Coding Standard and 50+ Programming SkillsHo Kim
?
1. How and Why to write good code?
2. Coding standard based on ZendFramework and real world practise.
3. PHP programming skills from daily coding.
4. Some security tips
5. Some optimization tips
This document provides step-by-step instructions for setting up continuous integration of projects using Jenkins on Windows Azure. It describes how to create a virtual machine on Azure, install Jenkins and additional plugins on the VM, and configure a sample project in Jenkins to trigger builds and send email notifications. The goal is to demonstrate how to automate building and testing of projects hosted in Git repositories using Jenkins running on an Azure VM.
This document discusses quality assurance in the software industry. It outlines various roles in a software project like project manager, developer manager, QA manager, and tester. It explains why software needs QA to test for issues from different perspectives. The document then describes common QA tasks like test planning, case creation, bug reporting, and verification. It provides details on testing methodologies like black box and white box testing. Examples of test case creation and bug reporting are illustrated. The document shares some stories of interactions between QA and other roles. It also discusses sources of happiness and unhappiness for those in QA roles.
Software development lifecycle_release_managementnetdbncku
?
This document discusses the software development lifecycle and release management. It begins with an overview of the speaker's experience in various roles related to software product development. It then covers topics like product release cycles, roles in product development, and the key phases of the software development lifecycle including planning, design, implementation, testing, and release. It emphasizes best practices for coding, testing, documentation, and working as part of a team through an organized process.
The document discusses Trend Micro's use of big data and cloud practices. It describes how Trend Micro collects vast amounts of security data daily from over 300 million sensors worldwide. This data is used by their Smart Protection Network (SPN) to identify new cyber threats. The SPN architecture leverages big data technologies like Hadoop and HBase to analyze the data and power services that determine the reputation of files, emails, URLs and other objects to detect threats.
1. Software Development for Large
and Open Source Projects
Kun-Ta Chuang
Department of Computer Science and Information Engineering
National Cheng Kung University
1
2. Introduction to Java Coding Style
Kun-Ta Chuang
Department of Computer Science and Information Engineering
National Cheng Kung University
2
3. ? What is Coding Style?
? Why we need to follow coding standard?
? Java coding standard
3
8. 實作註解
? 區塊註解(多行註解)
? 區塊註解可以用在檔案標頭、每個函式之前、或程式碼中的任
何地方。區塊註解的前面應該要有一列空白
/*
Description
不要用很多 * 把註解框起來,像下
面這樣:
A briefde scription of the class/interface.
/*
History
* *
yyyy-mm-dd Author
* 這是個錯誤示範 *
What has been changed.
* *
Copyright notice
*/
*/
? 單行註解
// Do a double-flip. In general, 前面要空一行
8
9. 文件註解
? /**
? * Disposes of this graphics context once it is no longer
? * referenced.
? *
? * @see #dispose()
? * @since 1.0
? */
? public void finalize() { dispose(); }
9
28. Why Design Patterns
? 基本上,Pattern 就是一種公式化的表現
– 究竟公式化是不是好事?
– 以藝術來說,公式化的結果會造成僵化
? Pattern is not good
? But for engineering, patterns is good
? Some Patterns are 千錘百鍊
– 運用這些公式可以確保工程具備一定的品質,並
加快工程的進行
– 軟體開發是一項工程
28
29. ? Object-Oriented Analysis
? Object-Oriented Programming
? Object-Oriented Design
– We use Design Patterns in OOD
– 對於後續的 OOP、測試、維護,都會有很大的
幫助
? 站在巨人的肩膀
29
31. Simple Factory
? 程式範例 :
public class ClothFactory {
public static Cloth getCloth() { //generate and get a cloth
Cloth cloth = new Cloth();
//do something
return cloth;
}
public static Pant getPant() { //generate and get a pant
Pant pant = new Pant();
//do something
return pant;
}
}
public static void main(String args[]) { //main program
/**only one line, user can get object they want**/
Cloth myCloth = ClothFactory.getCloth();
} 31