+ All Categories
Home > Technology > David Grudl: Novinky v Nette

David Grudl: Novinky v Nette

Date post: 06-May-2015
Category:
Upload: develcz
View: 1,220 times
Download: 6 times
Share this document with a friend
20
Transcript
Page 1: David Grudl: Novinky v Nette
Page 2: David Grudl: Novinky v Nette

Presenter: new method sendJson(), PresenterFactory: configurable mapping Presenter name → Class name, Route: new pseudo-variables %basePath%, %tld% and %domain%, annotation @inject, auto-generated factories and accessors via interface, adding compiler extensions via config file, configurable presenters via config, Database complete refactoring, a ton of bug fixes, lazy connection, all queries are logged (error queries, transactions, …), DSN in connection panel, much better (dibi-like) SQL preprocessor, Selection, ActiveRow: insert() & update() methods return row instances with refetched data, Selection: added placeholder support select(), group(), having(), order() methods, SqlLiteral: added placeholder support, added: WHERE conditions consider NOT for IN operator, insert() method returns IRow, new driver for Sqlsrv, Sqlite supports multi-inserts, fixes for PostgreSQL, Debugger Dumper: colored and clickable dumps in HTML or terminal, Bar: you can see bar after redirect and is updated via AJAX (not implemented), full stack trace on fatal errors (requires Xdebug), Dumper: possibility to include JS & CSS separately, new macro n:form, <select n:input> and <textarea n:input> (not implemented), partially rendered radiolists using {input name:$key} and {label name:$key}, setOmitted: excludes value from $form->getValues() result, removed dependency on Environment, improved toggles, improved netteForms.js, validation scopes, data-nette-rules attribute is JSON, getErrors returns only errors attached to form (getAllErrors returns all errors – with controls / containers), Radiolist::getLabel(…, $key) returns label for single item, Latte: modifier |noescape, native support for empty macros {macro /}, SmtpMailer: persistent connection, Json: supports pretty output, Neon: Json is subset of, Arrays: new method isList(), Strings: new method findPrefix(), added new SessionPanel, Magic methods setProperty(), getProperty(), isProperty() and addProperty() by @method, Strings::normalizeNewLines(), Validators::isType(),

Nette 2.1

Page 3: David Grudl: Novinky v Nette

Listopad 2013 z 99 % kompatiblilní

Page 4: David Grudl: Novinky v Nette

Nette 3.0

Page 5: David Grudl: Novinky v Nette
Page 6: David Grudl: Novinky v Nette
Page 7: David Grudl: Novinky v Nette

Odborníkem se stáváte, až když

to řeknete.

Page 8: David Grudl: Novinky v Nette

Vytvořte si novou oblast, kde se stanete odborníkem.

Page 9: David Grudl: Novinky v Nette

Pište! Prezentujte!

Page 10: David Grudl: Novinky v Nette

Miško Hevery Jirka Kosek Jakub Vrána

Page 11: David Grudl: Novinky v Nette
Page 12: David Grudl: Novinky v Nette

2007

Page 13: David Grudl: Novinky v Nette

Nette > Zend Symfony CakePHP Codeigniter Ruby on Rails Django

Page 14: David Grudl: Novinky v Nette

30.000 700

Page 15: David Grudl: Novinky v Nette

komunitní projekt

Page 16: David Grudl: Novinky v Nette
Page 17: David Grudl: Novinky v Nette

APIGEN.org

Page 18: David Grudl: Novinky v Nette

nechlastejte

Page 19: David Grudl: Novinky v Nette

Máte na to!

Page 20: David Grudl: Novinky v Nette

Recommended