tailieunhanh - Expert PHP 5 Tools phần 4
người ta có thể sử dụng phương pháp thẻ @ để tài liệu bất kỳ phương pháp ma thuật được cung cấp bởi lớp. Bất kỳ phương pháp tài liệu theo cách này sẽ được liệt kê trên các tài liệu hướng dẫn lớp pháp kết hợp mảng (mảng array1 = array (), mảng array2 = array ()) tham gia và randomizes hai mảng | Chapter 3 On this screen you can define the keywords that you intend to use so that PDT can be aware that you are creating a task tag. The default entries are @to-do FIXME TODO and XXX. There are other Eclipse plugins that let you leverage tasks and tags by taking them to a whole other level. You might want to take a look at the Mylyn plugin http mylyn For more details see the Eclipse Plugins section later in this chapter. Typing Here you can toggle whether PDT automatically adds the closing equivalent for every quote parenthesis brace square bracket PHP tag and phpDoc tag you type. If you are not used to it this feature can feel like it is interrupting your coding flow. However I definitely recommend you take the time to get used to it because it will end up reducing the time required to track down syntax errors because you forgot to close the code block. New project layout When you create a new project from the File New PHP Project menu option you can tell PDT where you intend to keep your source files. By source files we mean your classes interfaces libraries and so on. You can choose to have PDT consider the root directory of your project a source folder. Alternatively you can have Eclipse automatically create an application folder for your source files and a public folder for publicly accessible resources. The application and public folders are the defaults but you can change those directories on this screen. There are two situations where I recommend switching away from the default setting of the root directory being a source folder and instead opting to separate your source files from your publicly available files. First if your application will be accessible via the Web it is common security practice to only expose resources that you really intend to be accessible that way. All other resources that are not meant to be executed directly should be included explicitly. Second if you are following the MVC architecture you would be expected to .
đang nạp các trang xem trước