サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
Pixel 9
blog.tooleshed.com
Here is the first version of my stylesheet (XSL) that converts DB Designer 4 XML into Propel Schema XML. This allows you to design your database model using DB Designer 4 (models are saved in XML format) and then easily create the Propel database schema file. UPDATE [2006-11-14]: The dbd2propel.xsl file and transform.php have been added to the Propel repository. See it for the latest version. The
PHP Code Here is the code that processes the DB Designer xml... of course this could be streamlined if one were using PHP 5. <? function transform() { if ( !isset($_REQUEST["xml"]) ) { echo "<h3>Must enter an XML string!</h3>"; return; } $xmlstr = stripslashes($_REQUEST["xml"]); $xml = new DomDocument; // from /ext/dom $xml->loadXML($xmlstr); $xsl
このページを最初にブックマークしてみませんか?
『blog.tooleshed.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く