Yii Framework - Resumen en Inglés

download Yii Framework - Resumen en Inglés

of 4

Transcript of Yii Framework - Resumen en Inglés

  • 8/12/2019 Yii Framework - Resumen en Ingls

    1/4

    Yii Framework

    Informacin tomada de: http://www.yiiframework.com/about/

    Latest version at the moment of writing: 1.1.14

    Yiiis pronounced as Yee or [ji:], and is an acroynym for "Yes It Is!". This is often the accurate,and most concise response to inquires from those new to Yii:

    Is it fast? ... Is it secure? ... Is it professional? ... Is it right for my next project? ... Yes, it is!

    Yii is a free, open-source Web application development framework written in PHP5 that

    promotes clean, DRYdesign and encourages rapid development. It works to streamline your

    application development and helps to ensure an extremely efficient, extensible, and maintainable

    end product.

    Being extremely performance optimized, Yii is a perfect choice for any sized project. However, it

    has been built with sophisticated, enterprise applications in mind. You have full control over theconfiguration from head-to-toe (presentation-to-persistence) to conform to your enterprise

    development guidelines. It comes packaged with tools to help test and debug your application,

    and has clear and comprehensive documentation.

    Features of YiiWhether you are one developer building a fairly simple Web site, or a team of distributed

    developers building an extremely complex Web application, using Yii is like augmenting your

    development team with additional experienced, professional, and efficient resources. All for free!

    You can stay focused on the tasks specific to your business requirements, and let Yii provide an

    implementation strategy for all of the following:

    Model-View-Controller design pattern

    AJAX-enabled widgets

    Web services

    Error handling and logging

    Security

    Database Access Objects(DAO), Query Builder, Active Record, DB Migration Form input and validation

    Authentication and authorization

    Skinning and theming

    Web services

    Internationalization (I18N) and localization (L10N)

    Unit and functionality testing

    Automatic code generation

    Documento creado por Francisco Quintero

    http://www.google.com/url?q=http%3A%2F%2Fbit.ly%2Fcescquintero&sa=D&sntz=1&usg=AFQjCNETBVJQ0jT36V31pserP2jsCrYYmghttp://www.google.com/url?q=http%3A%2F%2Fbit.ly%2Fcescquintero&sa=D&sntz=1&usg=AFQjCNETBVJQ0jT36V31pserP2jsCrYYmghttp://www.google.com/url?q=http%3A%2F%2Fwww.yiiframework.com%2Fdoc%2Fguide%2Ftest.overview&sa=D&sntz=1&usg=AFQjCNFlrrtzlv6JT65ytEds0IdW566pdAhttp://www.google.com/url?q=http%3A%2F%2Fwww.yiiframework.com%2Fdoc%2Fguide%2Ftopics.i18n&sa=D&sntz=1&usg=AFQjCNErG13a7z0Q5ip2zne4Smxey-mu-Ahttp://www.google.com/url?q=http%3A%2F%2Fwww.yiiframework.com%2Fdoc%2Fguide%2Fdatabase.overview&sa=D&sntz=1&usg=AFQjCNHGiRSV-pyuIFwfsaS9WFNrACoASQhttp://www.google.com/url?q=http%3A%2F%2Fwww.yiiframework.com%2Fdoc%2Fguide%2Fbasics.mvc&sa=D&sntz=1&usg=AFQjCNHnH57o6n-6Jq_UEaRTtcntdKQLXAhttp://www.google.com/url?q=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FDon%2527t_repeat_yourself&sa=D&sntz=1&usg=AFQjCNFxueVSOPxh-X_l8m6YI1yKU28k0Qhttp://www.google.com/url?q=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FDon%2527t_repeat_yourself&sa=D&sntz=1&usg=AFQjCNFxueVSOPxh-X_l8m6YI1yKU28k0Qhttp://www.google.com/url?q=http%3A%2F%2Fwww.yiiframework.com%2Fabout%2F&sa=D&sntz=1&usg=AFQjCNEL5s2OP9qYBgYjqof5SbvTP2fr5Q
  • 8/12/2019 Yii Framework - Resumen en Ingls

    2/4

    Friendly with third-party code

    Detailed documentation

    Extension library

    Performance of YiiYii is a high-performance framework. The graph below shows how efficient Yii is when

    compared with other popular PHP frameworks. In the graph, RPS stands for "request per

    second" which describes how many requests an application written in a framework can process

    per second. The higher the number, the more efficient a framework is. As we can see that Yii

    outperforms all other frameworksin this comparison. The performance advantage of Yii is

    especially significant when the widely usedAPCextension is enabled.

    Performance alone is not the whole story (otherwise we should all use plain HTML or PHP). With

    such superior performance, Yii still provides a very rich feature setwhich can greatly improveyour development efficiency.

    Why Yii is so Fast Yii is so much faster because it is using the lazy loading technique extensively. For example, it

    Documento creado por Francisco Quintero

    http://www.google.com/url?q=http%3A%2F%2Fbit.ly%2Fcescquintero&sa=D&sntz=1&usg=AFQjCNETBVJQ0jT36V31pserP2jsCrYYmghttp://www.google.com/url?q=http%3A%2F%2Fbit.ly%2Fcescquintero&sa=D&sntz=1&usg=AFQjCNETBVJQ0jT36V31pserP2jsCrYYmghttp://www.google.com/url?q=http%3A%2F%2Fwww.yiiframework.com%2Ffeatures%2F&sa=D&sntz=1&usg=AFQjCNFrPEON-zJBCscb5KcnsgetYT9Xtghttp://www.google.com/url?q=http%3A%2F%2Fwww.yiiframework.com%2Ffeatures%2F&sa=D&sntz=1&usg=AFQjCNFrPEON-zJBCscb5KcnsgetYT9Xtghttp://www.google.com/url?q=http%3A%2F%2Fwww.php.net%2Fmanual%2Fen%2Fbook.apc.php&sa=D&sntz=1&usg=AFQjCNHXz6NKuVeAoqeYCfeW2U6WNJcKwAhttp://www.google.com/url?q=http%3A%2F%2Fwww.php.net%2Fmanual%2Fen%2Fbook.apc.php&sa=D&sntz=1&usg=AFQjCNHXz6NKuVeAoqeYCfeW2U6WNJcKwA
  • 8/12/2019 Yii Framework - Resumen en Ingls

    3/4

    does not include a class file until the class is used for the first time and it does not create an

    object until the object is accessed for the first time. Other frameworks suffer from the

    performance hit because they would enable a functionality (e.g. DB connection, user session) no

    matter it is used or not during a request.

    Code ExamplesUn primer vistazo es revisando el tour

    Ejemplo tomado de http://paraisolinux.com/hola-mundo-yii/

  • 8/12/2019 Yii Framework - Resumen en Ingls

    4/4

    if(!$this->_identity->authenticate())

    $this->addError('password','Incorrect username or password.')

    }

    }

    Referencias

    Instalar Yii en GNU/Linux

    Cmo iniciar con Yii

    Documento creado por Francisco Quintero

    http://www.google.com/url?q=http%3A%2F%2Fbit.ly%2Fcescquintero&sa=D&sntz=1&usg=AFQjCNETBVJQ0jT36V31pserP2jsCrYYmghttp://www.google.com/url?q=http%3A%2F%2Fbit.ly%2Fcescquintero&sa=D&sntz=1&usg=AFQjCNETBVJQ0jT36V31pserP2jsCrYYmghttp://www.google.com/url?q=http%3A%2F%2Fparaisolinux.com%2Fprimera-aplicacion-con-yii%2F&sa=D&sntz=1&usg=AFQjCNHya2UcMA8J4nYtWaz01oxnCLHerwhttp://www.google.com/url?q=http%3A%2F%2Fparaisolinux.com%2Fcomo-instalar-yii-en-linux%2F&sa=D&sntz=1&usg=AFQjCNEo9EJMxRhyaT2XKe8bJ5F4-mtq-w