una única plataforma • Se puede ser web y no ser cross-platform • Se puede ser web y ser desktop (aplicaciones mixtas) Programando Cross Platform PyCon Argentina 2011
tener cuidado con los siguientes temas: • Paths: Como han de manajarse los paths. Es os.path suficiente? • Eventos: Que eventos recibimos del fs cuando se editan los archivos. • Unicode vs Binary • User rights. Programando Cross Platform PyCon Argentina 2011
for group_sid, attributes in groups: # set the attributes of the group only if not null if attributes: dacl.AddAccessAllowedAceEx(ACL_REVISION, CONTAINER_INHERIT_ACE | OBJECT_INHERIT_ACE, attributes, group_sid) # the dacl has all the info of the diff groups passed in the parameters security_descriptor.SetSecurityDescriptorDacl(1, dacl, 0) SetFileSecurity(path, DACL_SECURITY_INFORMATION, security_descriptor) Programando Cross Platform PyCon Argentina 2011
Windows: NamedPipes, tcp, Shared Memory • Mac Os X: NSDistributedNotificationCenter or NSPortNameServer (mach ports) Hay que abstraer la comunicación ya que cada uno tienes un estilo de exponer los mensajes. Programando Cross Platform PyCon Argentina 2011