Search


Meta

Creative


Support


Leesoft

Feed™

Recent Comments

Photos

Jun
16

My First AppEngine Product Released!!!!

Posted by » developerly
84 hits

My First AppEngine Product Released!

Actually this product is released by yesterday evening. But today is the announced day for this product. This is some kind of the web game. The idea is we are blind before the thousands of the informations, but try this game, you can find the internal connection from one with another!

I am still working on the clues of the game, asking friends for the testing,after that I will announce the url  to all of you.

Jun
5

Python 函数参数的传递(转)

Posted by » developerly
80 hits

Python 中函数参数的传递是通过“赋值”来传递的。但这条规则只回答了函数参数传递的“战略问题”,并没有回答“战术问题”,也就说没有回答怎么赋值的问题。函数 参数的使用可以分为两个方面,一是函数参数如何定义,二是函数在调用时的参数如何解析的。而后者又是由前者决定的。函数参数的定义有四种形式:

1. F(arg1,arg2,…)
2. F(arg2=,arg3=…)
3. F(*arg1)
4. F(**arg1)
跳转后阅读Python 函数参数的传递(转)的完整内容

Jun
3

Accelerator:Faster The Development On Google AppEngine

Posted by » developerly
79 hits

也许是习惯了RoR下面那种通过generator自动生成网站框架。为了更好的帮助我自己秘密产品的开发。我准备顺手开发一些辅助工具来帮助组织代码什么的,我会逐渐的发布一些代码,希望最终能够整理成一个完整的工具包

generator.py 就是我用来自动生成网站框架的文件。只要使用generator.py <your appname>,就能自动生成网站框架。当然有一段日子没有用python写过东西了,所以这个文件写的相当的简陋。又由于我的主要精力会放在产品开发上,所以暂时也没有准备对这个文件做升级哈的。如果哪位大大对这个粗糙的拿不出手的东西感兴趣的话,欢迎在网站上和我留言联系。

Orz

Jun
2

Code ‘OneEyeCat’:Using GAE To Host

Posted by » developerly
81 hits

Yesterday, I have blogged a post saying that I am going to transfer my current project from Ruby to AppEngine. Strange thing is that, the hit number of this post is very high. So it means the google appengine is really hot.

Let’s turn back to my “secrete” project. I named it as “OneEyeCat”, I promise it as a very cool online service provided. But I will not tell you what it is now. During the development of this project. I will share all my experiences of using GAE. Hoping this can enjoy you all my readers of this site.

May
31

Transfer My Project From Ruby To Python

Posted by » developerly
113 hits

appengine-silver-120x30.gif

Since Google has provided a great app engine for me. And I don’t have enough money to host a standalone server. I decided to tranfer my currently project from Ruby to Python so that I can use the google app engine. This is not a goodbye to ruby, I really love ruby and rails. But I love you more, all the future users of my web app.  I want to provide my product to you asap, that’s the reason why I am using python.

Mar
26

TekGeek动手玩:剪切板共享程序–第一弹

Posted by » developerly
74 hits

公司里面有两台电脑。有时候在A电脑上看到一段不错的代码,想要拷到B电脑上会比较麻烦,需要在A电脑上共享一个目录给B电脑,然后还要建立一个临时文件,最后从B电脑访问这个共享目录,读取临时文件。
TekGeek的核心精神就是,所以这种繁琐的操作自然是我们所需要唾弃的。于是想着要写一个剪切板共享程序。这样在A电脑上复制的一段文字,可以在B电脑上直接点击粘贴从而粘贴上去。当然,这个程序要做好的话,可以提出很多需求,比如A电脑上复制一个文件,在B电脑上是不是可以直接粘贴啊,是否可以区分使用网络剪切板和本地剪切板啊什么的。另外一个问题就是用什么语言来开发。
根据ZMJDZML的原则,我们从最小需求开始:

  • 实现A的剪切版共享到B机器上
  • 只支持Windows操作系统
  • 只实现文本文字内容的共享
  • 程序运行的时候,A机器上所有的剪切板内容只要是文本文字的就能共享到B机器上。即A点击复制,B就可以直接粘贴相关内容
  • 实现语言方面:大家猜我会使用什么语言来实现呢?这次就不用最近作者一直研究学习的Ruby语言了,换换口味,我决定这次开发使用Python来做。

下一期预告:

显然A机器和B机器在这个需求中,一个做客户端,一个做服务器。那么采用什么样的技术来实现客户端,又采用什么样的技术来实现服务器呢?我将在下一期中,具体介绍服务器监听实现的思路。

Mar
25

Ruby实现嵌入式Web Server

Posted by » developerly
119 hits

有时候在程序中我们需要附带一个简单的Web Server来完成一些远程调用或者push功能。在python中我最喜欢用的是web.py,那么在Ruby中有没有什么小巧的程序能够实现简单的HTTP port监听的功能呢?

基于参考资料中的描述,我实现了一个最简单的web.rb。其中的核心就是使用了TCPServer类。

跳转后看代码 跳转后阅读Ruby实现嵌入式Web Server的完整内容