openlaszlo简介及其学习方法

来源:互联网 发布:守望先锋左上角数据 编辑:程序博客网 时间:2024/04/30 19:26

        今天看了下OpenLaszlo Application Developer's Guide的前言部分。内容大致如下:(英语水平有限,欢迎拍砖)

 

 

1、为什么开发此项技术?

2、此教程的阅读对象

3、On Runtimes and Deployment Modes and the "Core" API (这句不知道咋翻译了)

4、教程中的代码,函数,属性等的格式协定

5、学习此教程的其他的相关的文档

6、官方建议的学习此教程的方法

 

 

1、对于第一个问题,openlaszlo和其他的RIA技术一样,都是为了提高用户的体验(RIA技术的介绍,网上一搜便是)。当然了,这是因为以前的WEB应用开发语言,例如HTML,DHTML等等在用户体验方便的不足。

 

虽然我前段时间也查了不少关于RIA方面的资料,我现在还是没咋理解RIA,看了几个openlaszlo的DEMO,给我的感觉是:界面比较养眼,没有传统的页面形式(传统的B/S程序得一会跳转一个页面),功能类似于C/S结构的客户端了。官方的教程中也建议我们多看看相关的DEMO,这样学期之前可以有个感受。官方给的DEMO地址:http://www.openlaszlo.org/lps4.5/demos/

 

2、对于阅读的对象,教程中给了两种:对面向对象编程有所了解或对XML有所了解;不了解面向对象编程但是了解HTML和CSS的WEB设计师也可以了。总之,我感觉有点基础的都能看看,当然了至少对WEB程序或者面向对象思想有所了解了。

 

3、大概讲的是openlaszlo的运行平台,部署模式和 "Core" API 。这段个人能力有限,没看懂。(以后懂了再补上)

 

4、这个是学习教程时候的版面约束

 

5、学习教程的时候,经常会看到些示例。因为是XML语言和javascript结合的,所以得了解lzx的相关格式,官方提供了LZX Reference Manual. 手册。这个手册里提供了相关的LZX标签和API介绍。

再给就是官方提供的DEMO了, http://www.laszlosystems.com/demos

 

6、这里面最好的一句话就是“学习方法根据自己的了解情况而定”。

 

以下是官方原话,没啥难单词,直接贴出来看了。

The best way to use the LZX Developer's Guide depends on your experience.

Experienced Object-Oriented programmers: We suggest that you start by reading Chapters 1, 2 and 4 of this Guide. If you have never worked with JavaScript, you can learn the basics quickly at one of the JavaScript tutorials at W3Schools, WVDL, or PageResource.com. Then visit the OpenLaszlo website and play around with the tutorials and sample programs; as you read the sample code be sure to look up appropriate entries in the Reference Manual. At that point you'll know what further reading you need to do in this guide.

Web/Flash developers with no Object-Oriented experience: We suggest that you start with the tutorials in order to get a general feel for LZX programming. Don't worry about mastering the subjects they cover; your goal is to begin to get comfortable with the language.

If you need to, learn the basics of XML.

Then read the rest of Chapter 4, Overview of OpenLaszlo Application Development.

 

还有个就是:官方提供的论坛了,大家多逛逛肯定有好处的。http://www.laszlosystems.com/developers/community/forums/

 

 

在看guide之前呢,我也简单的看了下一些简单的demo,还是比较简单的。这里个人目前感觉,但是laszlo语言学号,我们需要学习XML,JAVASCRIPT,LASZLO这三个,当然可以同时学习这三个。如果你对标签语言不熟悉,你可以花点时间看看HTML(因为它最简单),感受下就可以了。最重要的就是,我们要看官方给的DEMO,容易理解,上手也快。