• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
If She Said "Yes".
What'll you do ?
博客园    首页    新随笔    联系   管理    订阅  订阅
2011年6月28日
SingleTon Pattern in Flex
摘要: What is singleton pattern?The singleton pattern is a design pattern that is used to restrict instantiation of a class to one object. If you create the class as a singleton then no way to create more than one instance. But, you can get that single instance in any number of classes. So all the classes 阅读全文
posted @ 2011-06-28 16:25 百花盛开 阅读(281) 评论(0) 推荐(0)
Maintaining Login Data in Flex
摘要: User specific login information is usually stored in session variables in any web application. However, Flex doesnt have anything called session variables in it. So how do we save this information across the whole application. Static classes come to the rescue here. This can also be achieved by use 阅读全文
posted @ 2011-06-28 16:14 百花盛开 阅读(190) 评论(0) 推荐(0)
Adobe AIR and Flex - Saving Serialized Objects to File
摘要: When creating any desktop application there is almost always a time when you need to store data on the computer. Now with Adobe AIR we have several options. One would be that we could use the built-in SQLite database support, for a small amount of data this is overkill. Another option is that we cou 阅读全文
posted @ 2011-06-28 14:31 百花盛开 阅读(270) 评论(0) 推荐(0)
Secure login using the EncryptedLocalStore in Adobe AIR
摘要: Adobe AIR has a quick and safe way to store encrypted user data when building applications. Data such as login and password can be persisted in the application using the EncryptedLocalStore available for AIR applications.To demonstrate this, I wrote a quick demo application that will store username 阅读全文
posted @ 2011-06-28 14:14 百花盛开 阅读(689) 评论(0) 推荐(0)
How to create an in-memory database in AIR using ActionScript and JavaScript
摘要: One of my favourite AIR features is the support of creating local database file using SQLite embedded engine. If you have SQL skills it'll be easy to storing persistent local data to your desktop application. You can use this feature to store application data, favourite users' configuration 阅读全文
posted @ 2011-06-28 10:43 百花盛开 阅读(354) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3