'Computer'에 해당되는 글 568건

  1. 2007.12.20 이클립스 (Eclipse)에서 get/set 메소드 (Method) 자동 생성하기 by 알 수 없는 사용자
  2. 2007.12.17 이클립스 (Eclipse)에서 코딩 스타일 (Code Style) 수정하기 by 알 수 없는 사용자 1
  3. 2007.12.17 이클립스 (Eclipse)에서 자동 들여쓰기 (Indentation) 수정하기 by 알 수 없는 사용자 2
  4. 2007.12.15 Atom (standard) by 알 수 없는 사용자
  5. 2007.12.15 Web syndication by 알 수 없는 사용자
  6. 2007.12.15 Podcast by 알 수 없는 사용자
  7. 2007.12.15 Web feed by 알 수 없는 사용자
  8. 2007.12.15 Android by 알 수 없는 사용자

자바에서는 객체의 각 필드에 직접 접근하기보다는

get/set 메소드를 통해서 접근한다.

하지만 get/set 메소드를 직접 만드는 일은 필드의 수가 많으면

비효율적일 수 밖에 없다.

이클립스에서는 이를 자동화할 수 있는 기능을 제공한다.

먼저, 원하는 필드를 블럭으로 지정하고,

마우스 오른쪽 버튼을 누른다.

Source -> Generate Getters and Setters

원하는 세부 설정을 한 뒤에 OK 버튼을 누르면 끝!
Posted by 알 수 없는 사용자
,

들여쓰기는 이전에 알아보았고,

소스 코드를 구했으나 코드 스타일이 마음에 안든다면 어떻게 해야할까?

가령, 괄호의 위치처럼.

역시 수작업으로 수정하고 있자니 시간이 아깝다.

그럴 땐 Format 기능을 활용한다.

이클립스에서는 다음과 같은 방법으로 할 수 있다.

소스 파일을 Ctrl + 'a'로 전체 선택하고,

마우스 오른쪽 버튼을 누른다.

Source -> Format을 선택한다.

기본적으로 제공되는 코드 스타일이 마음에 들지 않는다면,

프로젝트의 Properties 대화상자를 띄워서

Java Code Style - Formatter를 수정한다.

Posted by 알 수 없는 사용자
,

들여쓰기에 대한 결벽증을 가진 프로그래머라면,

들쑥날쑥한 코드의 들여쓰기가 탐탁치 않을 것이다.

그렇다고 수작업으로 들여쓰기를 수정하고 있자니 시간은 아깝다.

그럴 때 자동 들여쓰기 수정 기능을 활용한다.

이클립스에서는 다음과 같은 방법으로 할 수 있다.

소스 파일을 Ctrl + 'a'로 전체 선택하고,

마우스 오른쪽 버튼을 누른다.

Source -> Correct Indentation을 선택한다.
Posted by 알 수 없는 사용자
,

Atom (standard)

Computer/Terms 2007. 12. 15. 13:18

The name Atom applies to a pair of related standards. The Atom Syndication Format is an XML language used for web feeds, while the Atom Publishing Protocol (referred to as AtomPub for short) is a simple HTTP-based protocol for creating and updating web resources.

Web feeds allow software programs to check for updates published on a web site. To provide a web feed, a site owner may use specialized software (such as a content management system) that publishes a list (or "feed") of recent articles or content in a standardized, machine-readable format. The feed can then be downloaded by web sites that syndicate content from the feed, or by feed reader programs that allow Internet users to subscribe to feeds and view their content.

A feed contains entries, which may be headlines, full-text articles, excerpts, summaries, and/or links to content on a web site, along with various metadata.

The development of Atom was motivated by the existence of many incompatible versions of the RSS syndication format, all of which had shortcomings, and the poor interoperability, of XML-RPC-based publishing protocols. The Atom syndication format was published as an IETF "proposed standard" in RFC 4287, and the Atom Publishing Protocol was published as RFC 5023.


Reference:
http://en.wikipedia.org/wiki/Atom_%28standard%29

Posted by 알 수 없는 사용자
,

Web syndication

Computer/Terms 2007. 12. 15. 13:07

Web syndication is a form of syndication in which a section of a website is made available for other sites to use. This could be simply by licensing the content so that other people can use it; however, in general, web syndication refers to making web feeds available from a site in order to provide other people with a summary of the website's recently added content (for example, the latest news or forum posts).

Large scale web syndication of content started in 2001 when Miniclip freely syndicated online, browser-based, interactive games to the masses. Today many different types of content are syndicated on the Internet. Millions of online publishers, including newspapers, commercial websites and blogs, now publish their latest news headlines, product offers or blog postings in standard format news feed.

Syndication benefits both the websites providing information and the websites displaying it. For the receiving site, content syndication is an effective way of adding greater depth and immediacy of information to its pages, making it more attractive to users. For the transmitting site, syndication drives exposure across numerous online platforms. This generates new traffic for the transmitting site — making syndication a free and easy form of advertisement.

The prevalence of web syndication is also of note to online marketers, since web surfers are becoming increasingly wary of providing personal information for marketing materials (such as signing up for a newsletter) and expect the ability to subscribe to a feed instead.

Although the format could be anything transported over HTTP, such as HTML or JavaScript, it is more commonly XML. The two main families of web syndication formats are RSS and Atom.


Reference:
http://en.wikipedia.org/wiki/Web_syndication

Posted by 알 수 없는 사용자
,

Podcast

Computer/Terms 2007. 12. 15. 12:42

A podcast is a collection of digital media files which is distributed over the Internet using syndication feeds for playback on portable media players and personal computers. The term, like "radio", can refer either to the content itself or to the method by which it is syndicated; the latter is also termed podcasting. The host or author of a podcast is often called a podcaster.

The term "podcast" is a portmanteau of the words "iPod" and "broadcast", the Apple iPod being the brand of portable media player for which the first podcasting scripts were developed. These scripts allow podcasts to be automatically transferred to a mobile device after they are downloaded.

Though podcasters' web sites may also offer direct download or streaming of their content, a podcast is distinguished from other digital media formats by its ability to be syndicated, subscribed to, and downloaded automatically when new content is added, using an aggregator or feed reader capable of reading feed formats such as RSS or Atom.


Reference:
http://en.wikipedia.org/wiki/Podcast

Posted by 알 수 없는 사용자
,

Web feed

Computer/Terms 2007. 12. 15. 12:27

A web feed is a data format used for providing users with frequently updated content. Content distributors syndicate a web feed, thereby allowing users to subscribe to it. Making a collection of web feeds accessible in one spot is known as aggregation, which is performed by an Internet aggregator. A web feed is also sometimes referred to as a syndicated feed.

In the typical scenario of using web feeds, a content provider publishes a feed link on their site which end users can register with an aggregator program (also called a feed reader or a news reader) running on their own machines; doing this is usually as simple as dragging the link from the web browser to the aggregator. When instructed, the aggregator asks all the servers in its feed list if they have new content; if so, the aggregator either makes a note of the new content or downloads it. Aggregators can be scheduled to check for new content periodically.

The kinds of content delivered by a web feed are typically HTML (webpage content) or links to webpages and other kinds of digital media. Often when websites provide web feeds to notify users of content updates, they only include summaries in the web feed rather than the full content itself.

Web feeds are operated by many news websites, weblogs, schools, and podcasters.


Reference:
http://en.wikipedia.org/wiki/Web_feed

Posted by 알 수 없는 사용자
,

Android

Computer/API 2007. 12. 15. 11:55

Android is a software stack for mobile devices including an operating system, middleware and key applications. It is being developed by the Open Handset Alliance, a group of more than 30 technology and mobile companies. Android was built from the ground-up to enable developers to create compelling mobile applications that take full advantage of all a handset has to offer. Developers can create applications for the platform using the Android SDK.


Reference:
http://code.google.com/android/

Posted by 알 수 없는 사용자
,