tailieunhanh - Bài giảng Phát triển phần mềm mã nguồn mở: IDE và SDK

Bài giảng Phát triển phần mềm mã nguồn mở: IDE và SDK được biên soạn nhằm cung cấp cho người học các kiến thức: Giới thiệu Eclipse, Android SDK, Zend Studio. | Bài giảng Phát triển phần mềm mã nguồn mở IDE và SDK IDE và SDK Phát triển phần mềm mã nguồn mở Nội dung Giới thiệu Eclipse Android SDK Zend Studio Giới thiệu Eclipse Giới thiệu Eclipse Eclipse là IDE mã nguồn mở Cung cấp công cụ để soạn thảo code biên dịch và debug. Đầu tiên chỉ thiết kế riêng cho Java nhưng nay đã hỗ trợ cho nhiều ngôn ngữ khác. Hỗ trợ tốt cho C C Python PHP Ruby Cần phải cài JDK để chạy Eclipse Eclipse có thể được tải về từ http downloads packages Cần chọn Eclipse IDE for Java Developers Cài đặt Eclipse Giải nén file zip vào một thư mục nào đó. Trên windows Thường giải nén vào thư mục C eclipse Rồi tạo shortcut trên desktop để thi hành Eclipse C eclipse Trên Linux Giải nén vào opt eclipse Chọn Workspace Với Eclipse toàn bộ mã nằm trong workspace Một workspace chỉ là nơi cất giữ mã nguồn Eclipse cho phép có nhiều workspaces mỗi workspace được thiết kế theo cách riêng Chọn nơi muốn lưu trữ file rồi nhấp OK Welcome to Eclipse Lần đầu tiên làm việc với Eclipse ta sẽ thấy màn hình. Từ đây ta có thể xem khái quát về platform tài liệu hướng dẫn code mẫu Nhấp vào mũi tiên bên phải để lấy IDE Các thành phần Eclipse IDE Perspective Switcher We can switch between Menubars various perspectives Task List Pane Full drop down menus plus quick here access to common functions This contains a list of tasks to complete Editor Pane This is where we edit our source code Package Explorer Pane Outline Pane This is where our This contains a hierarchical projects files are listed view of a source file Miscellaneous Pane Various components can appear in this pane typically this contains a console and a list of compiler problems Tạo Project mới To create a project File New Java Project Tạo Project mới Thư mục src Eclipse tự động tạo thư mục src để chứa mã Tạo Class Nhấp vào nút New rồi chọn Class Class mới được tạo Directory structure for package and actual java file created automatically Source is loaded into the editor pane already

TỪ KHÓA LIÊN QUAN