'Programming'에 해당되는 글 24건
- 2008/01/29 제9회 한국 자바 개발자 컨퍼런스 안내
- 2007/10/08 Zend Framework에 포함되어 있는 Zend_Lucene_Search
- 2007/09/14 ASP에서 MSXML2.ServerXMLHTTP 사용하여 원격 웹서버 내용 갖고 오기
- 2007/09/04 XSS방지를 위한 ASP용 htmlspecialchars 함수
- 2007/06/27 CSS 음수 마진(Negative Margin)
- 2007/06/25 ASP.NET I18N
- 2007/06/07 스프링 프레임워크 세미나 (1)
- 2007/04/09 CSS Reference Card
- 2007/03/31 Ajax Development Links
- 2007/03/20 플래시 Tutorial 저작툴 - Wink
이 패키지를 이용하여 검색엔진을 만들어서 테스트해봤다. 역시 빠르다. 하지만 문서의 갯수가 많아지니 현저히 느려지는 속도..
나름 결론을 내린 건 하드웨어 사양에 따라 틀리겠지만 10만건정도 이하의 문서를 검색하는 사이트에서 유용할 것 같다. 부하가 많이 걸리는 부분은 키워드에 맞는 문서를 검색하는 부분이 아니라 검색되어진 문서를 배열로 만들고 이를 사용자의 요구에 맞게 정렬하는 부분이었다. 이는 PHP의 한계가 아닐까 보여지는데... 검색결과문서수가 평균 천건을 넘지 않는다면 인덱싱되어 있는 문서건수가 많더라도 유용하게 사용되어 질 것 같다. 또한 검색엔진, Lucene을 이해하는 데에도 유용할 것 같다.
가장 기본적인 방법은 다음과 같다.
GET 메쏘드로 갖고온 HTML을 화면에 출력하는 루틴이다. 게시판등에 글을 쓰거나 할 때는 POST 메쏘드를 사용하는데 이 방법도 가능한다.
오류 처리는 Send 메쏘드를 호출하기 전에 On Error Resume Next를 적어주고 오류발생여부를 체크하면 된다.
<form method="post" action="test.asp">
<input type="text" name="test" value="<%=htmlspecialchars(Request("test"))%>">
<input type="submit">
</form>
<%
Function htmlspecialchars(sStr)
htmlspecialchars = Replace( sStr, "&", "&" )
htmlspecialchars = Replace( htmlspecialchars, ">", ">" )
htmlspecialchars = Replace( htmlspecialchars, "<", "<" )
htmlspecialchars = Replace( htmlspecialchars, """", """ )
htmlspecialchars = Replace( htmlspecialchars, "'", "'" )
End Function
%>
These divs have the following CSS properties:
#div1 {
width: 300px;
height: 100px;
border: 2px solid #f00;
}
#div2 {
width: 300px;
height: 100px;
border: 2px solid #00f;
}
#div1 {
width: 300px;
height: 100px;
margin-bottom: 30px;
border: 2px solid #f00;
}
#div2 {
width: 300px;
height: 100px;
border: 2px solid #00f;
}
#div1 {
width: 300px;
height: 100px;
margin-bottom: -30px;
border: 2px solid #f00;
}
#div2 {
width: 300px;
height: 100px;
border: 2px solid #00f;
}
PS) 박스모델 오류도 자꾸 잊게 된다. 상기하는 차원에서..
div {
width: 100px;
padding: 10px;
border: 5px solid black;
margin: 10px; }
ASP.NET에서 I18N을 지원하기 위한 좋은 자료를 발견해서 첨부...
<%@ page language="c#" runat="server" Culture="ko-KR"%>
<script runat=server>
void Page_Load(){
String TodaysDate;
TodaysDate = DateTime.Now.ToShortDateString();
Response.Write(TodaysDate);
}
</script>
|
한국스프링사용자모임에서 스프링 두번째 세미나합니다. 자바개발자 분이나 MVC모델에 관심이 있으신 분들은 참석해 보세요. 조금 늦었지만 이프릴 세미나에서 약속한대로 한국 스프링 사용자 모임을 만들게 되어 다행입니다. 가장 중요한 소식인 세미나 소식을 먼저 전합니다. 이번 세미나는 국민대에서 장소를 협찬해주셨고, 아직 내용이 결정되지 않았지만 오픈소스를 지원하는 몇몇 업체의 후원을 받을 예정입니다.
세미나 내용은 Spring DAO 내부의 템플릿 구현 방식을 골자로 하는 첫번째 세션을 토비님이 발표하고, 제가 두번째 세션인 Spring MVC에 대해 진행할 예정입니다. 지난 이프릴 세미나의 경험을 토대로 이번에는 라이브 코딩을 보여주기 적합한 장소를 섭외했으며 시간도 110분으로 연장했습니다. 충분한 코드 시연으로 내용 전달에 만전을 기하려고 기획한 것이지만 긴 세션으로 인해 지루해질 소지도 있고 사용자 참여도 늘리기 위해 스프링 퀴즈왕이라는 짧막한 이벤트도 마련했습니다. 경품 내용이나 구체적인 진행 방향은 아직 논의중이지만 재미있는 시간이 되도록 준비하겠습니다. |
General Articles
From Jesse James Garrett (who coined the term)
- Ajax: A New Approach to Web Applications (original article defining Ajax)
- Why Ajax Matters Now
Basic Tutorials
- Basic Ajax Tutorials
- developer.mozilla.org – AJAX – Getting Started
- Mastering Ajax – 3 part series
- Rasmus’ 30 second AJAX Tutorial – A wanderer’s journal
- Max Kiesler – Round-up of 30 AJAX Tutorials
- Building an Ajax Page
For specific languages or libraries
General Ajax Information
Solutions to specific Ajax related issues
- Using XSLT v2 to Generate JSON from XML for use with AJAX.
- Ajax Image JPG Uploader
- Eric’s Hashlistener, a tiny script to support the back-button
- Fixing the Back Button and Enabling Bookmarking for AJAX Apps
- Improve Javascript Performance by Eliminating String Concatenation
- AJAX Without XML
- Javascript refactoring for safer faster better AJAX
Article argues that its time for Javascript coding practices to mature into professional software engineering, discusses various ways to improve Javascript code and has examples of Javascript refactoring from real-life projects.
In depth Ajax use articles
| Wink is a Tutorial and Presentation creation software, primarily aimed at creating tutorials on how to use software (like a tutor for MS-Word/Excel etc). Using Wink you can capture screenshots, add explanations boxes, buttons, titles etc and generate a highly effective tutorial for your users. | |
| Here is a sample Flash tutorial created by Wink. Click the green arrow button to start viewing it. --------> (More tutorials created by Wink users and companies can be found at the User Forums.) This is a good example of how you can create tutorials in Wink, by capturing screenshots, mouse movements and specifying your own explanations with them. And all this in a standard Windows-based UI with drag-and-drop editing makes it very easy to create high quality tutorials/documentation. It is estimated that Macromedia Flash Player is installed in more than 90% of the PCs. Using Wink you can create content viewable across the web in all these users' desktops. Similar applications sell for hundreds of dollars, while Wink is free with unrivaled features. So spread the word about Wink to your friends. | |



i18n-ASP-NET-2-0.ppt
CSS1.pdf

댓글을 달아 주세요