User Profile

Collapse

Profile Sidebar

Collapse
yoohoow
yoohoow
Last Activity: Oct 8 '12, 01:32 AM
Joined: Jul 22 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • yoohoow
    started a topic What is the difference between new Object() and {}

    What is the difference between new Object() and {}

    some people say {} is more quicker than "new Object()" when create an Object. But I have tested. "new Object()" is about 45% quicker than {} operator.
    what's the difference between than?
    See more | Go to post

  • yoohoow
    replied to How to create Flex 4.5 theme in Flash CS5?
    I think you can design a button on flash professional cs5, add AS link to it, export a swc file. then copy this swc file to your flex project. you may find the button you made in the custom component list, just drag it to flex design canvas.
    See more | Go to post
    Last edited by yoohoow; Jul 22 '12, 11:50 AM. Reason: my english is bad.

    Leave a comment:


  • yoohoow
    replied to What is your OS and Python Version
    win seven
    python 2.7
    See more | Go to post

    Leave a comment:


  • yoohoow
    started a topic using dejavu-orm

    using dejavu-orm

    Is any body use dejavu object relational mapper? I follow the dejavu pdf tutorial and try to run the example code . it's bad.
    Code:
    import dejavu
    class Zoo(dejavu.Unit):
        Name = dejavu.UnitProperty()
        Size = dejavu.UnitProperty(int)
       
        def total_legs(self):
            return sum([x.Legs for x in self.Animal()])
    class Animal(dejavu.Unit):
        Legs = dejavu.UnitProperty(int,
    ...
    See more | Go to post
No activity results to display
Show More
Working...