随笔分类 -  lotus cs开发

上一页 1 2 3 4 5 6 ··· 8 下一页
摘要:忽如一夜春风来.Lotus高级开发群里涌入了不少新人和猎头。新人们当然不仅是来聊天的,还是带着问题来的。例如:怎么往代理里传参数。 于是习惯授人以渔的我苦口婆心问他们知道什么是BS结构么?告诉他们get,post方法。正婆婆妈妈准备敲下在Domino下面对照的是怎么回事,应该怎么处理时,新人们不耐烦了:这些都知道,我不要听这个,我就要传参数。我怒了,发彪了!后来一想,又何苦呢。大家都不过出来混口饭吃。这个行业环境不好,Domino人才奇缺,项目却不少,公司舍不得花钱,就只能招些价廉未必美。 1、一般执行代理的按钮提交参数。 参照Lotus提交表单,第二种方式,我们可以看到domino表单解析成 阅读全文
posted @ 2014-01-02 15:50 hannover 阅读(1177) 评论(2) 推荐(0)
摘要:Domino R6中,可以将设计元素导出并产生一个DXL(Domino XML)文档,导出以后,我们可以通过程序代码将DXL文档进行修改,再将修改后的代码导入到Domino数据库。这种方式可以修改设计元素中的任何代码(比如:添加/删除表单中插入的子表单、修改代理中的代码、增加删除视图中的列等)。需要注意以下几点:1、代理重新导入后a)打开设计时,会提示代理没有签名,无法打开,在Web上运行代理的时候,服务器立即宕机。解决方法:用程序打开设计元素文档,并对其进行签名。b)若原代理设置了两个名字(如:“保存代理|AG_SaveDoc”),导入后代理的名字会被修改为“保存代理 | AG_SaveDo 阅读全文
posted @ 2014-01-02 15:49 hannover 阅读(957) 评论(0) 推荐(0)
摘要:Everyone (well, almost everyone) knows that agents can call other agents. A LotusScript agent can call another LotusScript agent using the Run method. You can use the same method to invoke a Java agent, or to invoke a LotusScript agent from a Java agent. When using the Run method, the calling and th 阅读全文
posted @ 2014-01-02 15:48 hannover 阅读(565) 评论(0) 推荐(0)
摘要:1、用For 循环代替Do 循环,因为Do循环会反复的计算条件!2、在数族元素中循环式用Forall代替for。一元数组会快75%,二元会快50%左右。3、简化If里的条件,如:if a=x and b=y就没有 if a=x then if b=y快,应为后者的第二个条件在第一个条件为真时才计算的。4、用GetView方法代替Search和FTSearch的方法。5、尽量避免混用数据类型进行计算,如,避免用single+long这样会降低40%的速度。6、用doc.ColumnValues属性比其他获得文档值要快(如:doc.fieldname)。7、在除法时,用"/"代 阅读全文
posted @ 2013-12-26 10:20 hannover 阅读(704) 评论(0) 推荐(0)
摘要:如下代码Set recipientDoc = getDocInNAB(“search string”)If Not recipientDoc Is Nothing Then ‘In debug I end up here Else ‘When I run it I end up here…. Print “ERROR” End If ‘some code ……Function getDocInNAB(y As String) As NotesDocument Dim nabs As Variant Dim v As NotesView Dim match As NotesDocument Di 阅读全文
posted @ 2013-10-23 11:15 hannover 阅读(538) 评论(0) 推荐(0)
摘要:IntroductionThis short article gives an introduction to the underrated Execute method that is available in Lotusscript. The basics are explained through some simple examples, after which two suggestions are made for advanced usage.The basicsThe Execute method in Lotusscript is an underused feature t 阅读全文
posted @ 2013-07-04 22:53 hannover 阅读(672) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2012-11-05 21:01 hannover 阅读(0) 评论(0) 推荐(0)
摘要:Auth_Type 如果服务器支持用户验证而且 Script 被保护,这是用于校验用户的特定协议的验证方法。 Content_Length 内容的长度,与客户机给出的相同。 Content_Type 对于带有附加信息的查询,比如 HTTP POST 和 PUT,这是数据的内容类型。 Gateway_Interface 服务器所遵守的 CGI 规范版本。 HTTP_Accept 客户机接受的 MIME 类型,通过 HTTP 标题指定。 HTTP_Accept_language 客户机接受的语言,通过 HTTP 标题指定。 HTTP_Referer 用户经常访问的页面的 URL 地址。 HTTP. 阅读全文
posted @ 2012-10-16 09:37 hannover 阅读(669) 评论(0) 推荐(0)
摘要:使用 Java 可以访问 Domino 中的对象,如数据库、视图、文档等。本文简述了用 Java 访问 Domino 对象的基本编程方法。本文中的内容主要是根据 Lotus Domino/Notes 6 编写的,使用 R5 时会略有不同。 Java 对 Domino 对象的访问是通过调用 lotus.domino 包来进行的。在运行环境中,lotus.domino 包中的接口是通过两个包来实现的: lotus.domino.local - 支持从Notes/Domino所在的计算机上进行的本地调用 lotus.domino.cso - 支持对 Domino 服务器进行远程连接 对于本地连接,. 阅读全文
posted @ 2012-08-01 18:16 hannover 阅读(3117) 评论(0) 推荐(0)
摘要:Lotus 行動通訊解決方案 Notes / Domino 的強大功能延伸到行動裝置Lotus 的行動及無線產品,將 Domino 的強大功能延伸到行動裝置。這些產品以現有 Domino 產品線的行動服務為基礎。利用無線資料網路, 支援 WAP 手機、PDA、筆記型電腦、呼叫器、以及有支援簡訊的數位電話,讓企業內員工不受時空限制,無論何時何地都能以安全互動的方式存取、 掌握並回應重要的商務資訊。例如企業行動通訊者透過 WAP 手機以無線方式接收、傳送電子郵件及簡訊、甚至存取企業應用系統, 並利用 PDA 進行線上工作流程簽核。不但可大幅降低通訊成本,還能提高工作效率,進而提昇企業競爭優勢。 . 阅读全文
posted @ 2012-07-23 15:07 hannover 阅读(376) 评论(0) 推荐(0)
摘要:因应很多Domino Agent用Java写,但又没有做好垃圾记忆体清除的工作,所以可以定期或是将程式置于windows指定排程去Run。class GC {public static void main(String args[]) { System.out.print("Domino Server 目前剩余记忆体:"); System.out.println(Runtime.getRuntime().freeMemory()); System.out.println("开始进行Java AP 垃圾收集"); System.gc(); System.o 阅读全文
posted @ 2012-07-23 14:50 hannover 阅读(683) 评论(0) 推荐(0)
摘要:1) Lotus 平台是国际公认的最安全的群件平 台2) Lotus平台符合真正的 J2EE架构3) Lotus平台下的OA已经过多年的持续发展,在容用性及功能方面全面超越Java OA4) Lotus/Domino平台下的OA开发速度快,实施容易.更能保证系统的可用性.开发人员更容易着重于功能的实现,而不是着重于技术实现上.5) 实施容易系统上线速度快,可大幅隆低系统的实施风险6) Lotus平台具有 IBM持续不断的升级动力,已发布最新的Domino7.0产品7) 对于大容量的OA系统, Lotus有更稳定的运行经验。8) 基于... 阅读全文
posted @ 2012-07-23 14:47 hannover 阅读(2475) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2012-07-19 10:42 hannover 阅读(4) 评论(0) 推荐(0)
摘要:当你想要直接在本地访问同一个服务器的Lotus Notes® objects信息时,你可以用Java的代理(agent),小服务程序(servlet),小应用程序(applet)或者独立的应用程序来进行。小应用程序[applet]通过模拟LotusScript对象模型,使开发人员更简单使用这些工具。例如,通过使用LotusScript或者Java类来得到一个数据库的句柄,以及包含数据库信息的会话(session)。一旦会话(session)被创建,你就可以通过这个会话(session)来引用相应的数据库(database)。然而,为了实现最佳的系统性能,回收创建过的对象是非常重要的。 阅读全文
posted @ 2012-06-07 15:58 hannover 阅读(3191) 评论(0) 推荐(0)
摘要:一、基础知识:1、常用ASCII码知识:chr(9)、chr(10)、chr(13)、chr(32)、chr(34)所有关于 ASCII码的表格:[url]http://www.asciitable.com/chr(13) 是一个回车Chr(10) 是个换行符chr(32) 是一个空格符9/34 是tab,未确定?2、lotus notes中的rtf域GetFormattedText(tabstrip, lineLength% )eg:GetFormattedText(false,0),对rtf域值中的tab不进行处理,并且默认80个字符换行。我们常用如下代码的方式来读取rtf域的值Dim . 阅读全文
posted @ 2012-05-21 11:46 hannover 阅读(1650) 评论(0) 推荐(0)
摘要:With this code, you can show the progress of a long lasting work.Declare Public Function NEMProgressBegin Lib "nnotesws.dll" (Byval wFlags As Integer) As LongDeclare Public Sub NEMProgressSetBarRange Lib "nnotesws.dll" (Byval hWnd As Long,Byval dwMax As Long)Declare Public Sub NE 阅读全文
posted @ 2012-05-03 21:22 hannover 阅读(345) 评论(0) 推荐(0)
摘要:I needed versioning for my Wiki. The older versions of each WikiPage are stored in a separate database. The version number of the WikiPage is updated each time the page is saved.The LotusScriptIn the following routine, 'OVERFLOW_DB' is a constant with the path of the database to store all th 阅读全文
posted @ 2012-05-01 01:37 hannover 阅读(265) 评论(0) 推荐(0)
摘要:1. 前言 写这个文档的起因是我在使用一段程序代码的时候发现执行速度不满意,100条notes文档处理起来需要64秒钟。虽然这段代码的复杂程度很高,但是运算量不大,最多执行190个循环。所以我试着修改这段程序,最终将运行时间降低到5秒以下。这非常令人惊喜的结果!10倍的速度啊!1.2. 什么是运行速度的瓶颈? 根据人们通常认为运行速度的敌人有以下几个:> DBSearch(全文检索)。> 多数据库操作。> 巨大的数据库(超过10000条文档记录,容量超过100M)。 上面三个问题,人们可以根据经验认同和接受,所以我就不在多论述。1.3. 什么限制了Lotus Script程序 阅读全文
posted @ 2012-05-01 00:20 hannover 阅读(1770) 评论(0) 推荐(0)
摘要:Notes Tips Note ID UniquenessTracking Notes Users at the Notes Server ConsoleSetting Up Web Server LoggingJS32.DLL Error Upgrading Domino ServerNotes Client Command-Line OptionsReporting a Bug in NotesModifying $FormulaClass in ViewsGetting Default Elements in the DatabaseNotes Debug FlagsExporting. 阅读全文
posted @ 2012-05-01 00:01 hannover 阅读(973) 评论(0) 推荐(0)
摘要:Here are some LotusScript classes that I have written. Put them in a script library and add a "Use" statement to the options section of your code. Or simply copy the code into the "Declarations" section. There is an explanation of how to use the classes at the top of each file.Bi 阅读全文
posted @ 2012-04-30 23:22 hannover 阅读(234) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 ··· 8 下一页