From 151b2f7d102a5988b63255d27c9ad78202c16355 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Mon, 9 Nov 2015 00:33:08 +0100 Subject: Added (partial) website + misc updates for release * recreated the prado website in demos/ * updated some docs to reflect the usage of jquery; removed guide to prototype * updated composer * added task for apigen4 (theme still missing) --- demos/site/protected/.htaccess | 1 + demos/site/protected/Common/SimpleMenu.php | 86 +++++++++++++++++++ demos/site/protected/Layouts/MainLayout.php | 5 ++ demos/site/protected/Layouts/MainLayout.tpl | 56 +++++++++++++ demos/site/protected/Pages/About.page | 55 ++++++++++++ demos/site/protected/Pages/Demos.page | 31 +++++++ demos/site/protected/Pages/Documentation.page | 42 ++++++++++ demos/site/protected/Pages/Download.page | 116 ++++++++++++++++++++++++++ demos/site/protected/Pages/Home.page | 37 ++++++++ demos/site/protected/Pages/License.page | 28 +++++++ demos/site/protected/Pages/Tos.page | 42 ++++++++++ demos/site/protected/application.xml | 40 +++++++++ demos/site/protected/runtime/.gitignore | 2 + 13 files changed, 541 insertions(+) create mode 100755 demos/site/protected/.htaccess create mode 100644 demos/site/protected/Common/SimpleMenu.php create mode 100644 demos/site/protected/Layouts/MainLayout.php create mode 100644 demos/site/protected/Layouts/MainLayout.tpl create mode 100644 demos/site/protected/Pages/About.page create mode 100644 demos/site/protected/Pages/Demos.page create mode 100644 demos/site/protected/Pages/Documentation.page create mode 100644 demos/site/protected/Pages/Download.page create mode 100755 demos/site/protected/Pages/Home.page create mode 100644 demos/site/protected/Pages/License.page create mode 100644 demos/site/protected/Pages/Tos.page create mode 100644 demos/site/protected/application.xml create mode 100755 demos/site/protected/runtime/.gitignore (limited to 'demos/site/protected') diff --git a/demos/site/protected/.htaccess b/demos/site/protected/.htaccess new file mode 100755 index 00000000..8d2f2563 --- /dev/null +++ b/demos/site/protected/.htaccess @@ -0,0 +1 @@ +deny from all diff --git a/demos/site/protected/Common/SimpleMenu.php b/demos/site/protected/Common/SimpleMenu.php new file mode 100644 index 00000000..bcbc94cf --- /dev/null +++ b/demos/site/protected/Common/SimpleMenu.php @@ -0,0 +1,86 @@ +renderBeginTag("ul"); + parent::renderChildren($writer); + $writer->renderEndTag(); + } + +} + +class SimpleMenuItem extends TControl +{ + + public function getPath() + { + return $this->getControlState("Path", null); + } + + public function setPath($value) + { + $this->setControlState("Path", TPropertyValue::ensureString($value)); + } + + public function getUrl() + { + return $this->getControlState("Url", null); + } + + public function setUrl($value) + { + $this->setControlState("Url", TPropertyValue::ensureString($value)); + } + + public function getTarget() + { + return $this->getControlState("Target", null); + } + + public function setTarget($value) + { + $this->setControlState("Target", TPropertyValue::ensureString($value)); + } + + public function getText() + { + return $this->getControlState("Text", $this->getID()); + } + + public function setText($value) { + $this->setControlState("Text", TPropertyValue::ensureString($value)); + } + + public function render($writer) + { + $writer->renderBeginTag("li"); + + if(null !== $path = $this->getPath()) + { + $writer->addAttribute('href', $this->Service->constructUrl($path)); + + if($path == $this->Page->getPagePath()) + $writer->addAttribute('class', 'active'); + } elseif(null !== $url = $this->getUrl()) { + $writer->addAttribute('href', $url); + } + + if($this->getTarget() !== null) + $writer->addAttribute('target', $this->getTarget()); + + $writer->renderBeginTag("a"); + + $writer->write(THttpUtility::htmlEncode($this->getText())); + + $writer->renderEndTag(); + $writer->renderEndTag(); + } +} diff --git a/demos/site/protected/Layouts/MainLayout.php b/demos/site/protected/Layouts/MainLayout.php new file mode 100644 index 00000000..15302dfc --- /dev/null +++ b/demos/site/protected/Layouts/MainLayout.php @@ -0,0 +1,5 @@ + + + + + + + + + + + + + +
+ + +
+ +
+
+ + \ No newline at end of file diff --git a/demos/site/protected/Pages/About.page b/demos/site/protected/Pages/About.page new file mode 100644 index 00000000..62d3af2d --- /dev/null +++ b/demos/site/protected/Pages/About.page @@ -0,0 +1,55 @@ + + +
+

The PRADO Group

+

+The PRADO group is a team of PRADO enthusiasts who develop and promote the PRADO framework and the related projects. +

+

Team Members

+
    +
  • Fabio Bas - development, testing
  • +
  • Ciro Mattia Gonano - github/packagist maintainer
  • +
  • Daniel Sampedro Bello - wsat development
  • +
  • David Otto - development, testing
  • +
  • Jens Klaer - development, testing
  • +
+

The following Team Members are currently inactive.

+
    +
  • Qiang Xue - founder of PRADO framework, core development
  • +
  • Xiang Wei Zhuo - core development (javascripts, active controls, DB controls, tests)
  • +
  • Jason Ragsdale - site and forum administration
  • +
  • Knut Urdalen - test, marketing
  • +
  • Eirik Hoem - core development
  • +
  • Yves Berkholz - core development
  • +
  • Michael Hartl - component development, testing
  • +
  • Carl G. Mathisen - design and document comment system
  • +
  • Christophe Boulain - component development, testing
  • +
  • Robin J. Rogge - site and forum adminitration, core development
  • +
+

Past Team Members

+

+Alex Flint, Brian Luft, John Teague, Todd Patrick, Pim van der Zwet, Tim Evans, Alban Hanry, Marcus Nyeholt +

+ +

History of PRADO

+

+The very original inspiration of PRADO came from Apache Tapestry. During the design and implementation, Qiang Xue borrowed many ideas from Borland Delphi and Microsoft ASP.NET. The first version of PRADO came out in June 2004 and was written in PHP 4. Driven by the Zend PHP 5 coding contest, Qiang rewrote PRADO in PHP 5, which proved to be a wise move, thanks to the new object model provided by PHP 5. PRADO won the grand prize in the Zend contest, earning high votes both from the public and from the judges' panel. +

+

+In August 2004, PRADO was hosted on SourceForge as an open source project. Soon after, the project site xisc.com was announced to public. With the fantastic support of PRADO developer team and PRADO users, PRADO evolved to version 2.0 in mid 2005. In this version, Wei Zhuo contributed to PRADO with the excellent I18 and L10N support. +

+

+In May 2005, developers decided to completely rewrite the PRADO framework to resolve a few fundamental issues found in version 2.0 and to catch up with some cool features available in Microsoft ASP.NET 2.0. After nearly a year's hard work with over 50,000 lines of new code, version 3.0 was finally made available in April 2006. +

+

+In October 2008, the original development team released a new framework called Yii. Inheriting most of the PRADO code, Yii left the pages/events concept, focusing on a pure MVC design pattern. Since 2009 a lot of people contributed to PRADO fixing issues, developing new features or backporting them from Yii. +

+

+To promote a model of community-driven development, the project repositories were moved first on Google Code and then, in September 2013, on GitHub. +

+

+Starting from version 3.0, significant efforts are allocated to ensure the quality and stability of PRADO. If we say PRADO v2.x and v1.x are proof-of-concept work, we can say PRADO 3.x has grown up to a project that is suitable for serious business application development. +

+ +
+
\ No newline at end of file diff --git a/demos/site/protected/Pages/Demos.page b/demos/site/protected/Pages/Demos.page new file mode 100644 index 00000000..dbc7635d --- /dev/null +++ b/demos/site/protected/Pages/Demos.page @@ -0,0 +1,31 @@ + + +
+ +

Online Demos

+

+The following demos are developed using the PRADO framework. They are also available under the demos directory in the PRADO release. +

+
+
\ No newline at end of file diff --git a/demos/site/protected/Pages/Documentation.page b/demos/site/protected/Pages/Documentation.page new file mode 100644 index 00000000..0a4dd73f --- /dev/null +++ b/demos/site/protected/Pages/Documentation.page @@ -0,0 +1,42 @@ + + +
+ + + + +

API Manual

+ +The API Manual contains the documentation for all the classes declared in PRADO. + +
+
+

Tutorials

+ +
    +
  • The QuickStart Tutorial - This tutorial is a definitive guidance showing every aspect of PRADO. It is written in PRADO and contains many demos to show the usage of various PRADO controls. The tutorial is also available as a PDF file.
  • +
  • The PRADO Blog Tutorial - This tutorial shows how to use PRADO to build a complete Web application. Prior PRADO knowledge is not required.
  • +
  • The SQLMap Tutorial - This tutorial is a definitive guidance on how to use SQLMap (available since v3.1.0).
  • +
+ + +
+ +
\ No newline at end of file diff --git a/demos/site/protected/Pages/Download.page b/demos/site/protected/Pages/Download.page new file mode 100644 index 00000000..bdc21221 --- /dev/null +++ b/demos/site/protected/Pages/Download.page @@ -0,0 +1,116 @@ + + +
+ +

Download

+

PRADO is an open source project hosted on GitHub. It is released under the terms of +.

+

The latest stable version of PRADO is <%= Prado::getVersion() %>.

+
Download
+ + + + +$(document).ready(function () { + $.getJSON("https://api.github.com/repos/pradosoft/prado/releases").done(function (json) { + var release = json[0]; + + var releaseVer = release.tag_name; + var releaseDate = new Date(release.published_at); + var downloadURL = release.assets[0].browser_download_url; + + var monthNames = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; + var day = releaseDate.getDate(); + var monthIndex = releaseDate.getMonth(); + var year = releaseDate.getFullYear(); + + $("#lastVersion").text(releaseVer); + $("#lastVersionDate").text(' (' + day + ' ' + monthNames[monthIndex] + ' ' + year + ')'); + $("#downloadLink").attr("href", downloadURL); + }); + + $.get("https://raw.githubusercontent.com/pradosoft/prado/master/HISTORY", function(data) { + $("#changeLog").text(data); + }); +}); + + +
+

Latest changelog entries

+
loading...
+ +
+

Previous PRADO v3.x releases

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VersionDate Files
3.2.4Aug 26, 2014Source code and documentation
3.2.3Nov 26, 2013Source code and documentation
3.2.2July 20, 2013Source code, documentation
3.2.1January 19, 2013Source code, documentation
3.2.0June 25, 2012Source code, documentation
3.1.10July 27, 2011Source code, documentation
3.1.9June 3, 2011Source code, documentation
3.1.8May 29, 2011Source code, documentation
3.1.7February 22, 2010Source code, documentation
3.1.6July 22, 2009Source code, documentation
3.1.5May 24, 2009Source code, documentation
3.1.4January 11, 2009Source code, documentation
3.1.3November 1, 2008Source code, documentation
3.1.2April 21, 2008Source code
3.1.1October 1, 2007Source code
3.1.0July 2, 2007Source code
3.0.7April 2, 2007Source code
3.0.6December 4, 2006Source code
3.0.5October 23, 2006Source code
3.0.4September 4, 2006Source code
3.0.3August 6, 2006Source code
3.0.2July 2, 2006Source code
3.0.1June 4, 2006Source code
3.0.0May 1, 2006Source code
+
+
+

PRADO Tools

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
FileDescriptionRelease date
Dreamweaver ExtensionPRADO Dreamweaver Extension (r2764)February 14, 2010
InType BundlePRADO InType Bundle (r2854)June 23, 2010
Notepad++ PluginPRADO Notepad++ Plugin (r2793)April 6, 2010
Textmate BundlePRADO TextMate Bundle, suitable also for Sublime Text 2 (r3193)July 24, 2012
+
+
+

Git Access

+

You can obtain the latest development version of PRADO from our Git repository.

+
WARNING: Unreleased Source code in Git may contain known bugs and are subject to changes without prior notice.
+

The Source code repository can be accessed anonymously using the following command,

+
git clone https://github.com/pradosoft/prado.git
+ +
+ +
\ No newline at end of file diff --git a/demos/site/protected/Pages/Home.page b/demos/site/protected/Pages/Home.page new file mode 100755 index 00000000..b9cc49b7 --- /dev/null +++ b/demos/site/protected/Pages/Home.page @@ -0,0 +1,37 @@ + + + + +
+
+

What is PRADO?

+

PRADOTM is a component-based and event-driven programming framework for developing Web applications in PHP 5. PRADO stands for PHP Rapid Application Development Object-oriented.

+
+
+

What does PRADO require?

+

The sole requirement to run PRADO-based applications is a Web server supporting PHP 5.3.0 or higher. PRADO is free. You can use it to develop either open source or commercial applications.

+
+
+

Quick facts about PRADO

+

+ First release: August 2004
+ License: revised BSD
+ Lines of core code: > 150,000 lines
+ Number of classes: > 700
+ Downloads: > 430,000 15/09/2013
+

+
+
+ +
+
+ +
\ No newline at end of file diff --git a/demos/site/protected/Pages/License.page b/demos/site/protected/Pages/License.page new file mode 100644 index 00000000..9636acf9 --- /dev/null +++ b/demos/site/protected/Pages/License.page @@ -0,0 +1,28 @@ + + +
+ +

License of PRADO

+ +

+The PRADO framework and the included demos are free software. They are released under the terms of the following BSD License. +

+

+Copyright 2004-<%= date('Y') %> by The PRADO Group (http://www.pradosoft.com)
+All rights reserved. +

+

+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: +

+
    +
  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • +
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • +
  • Neither the name of the PRADO Group nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
  • +
+

+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +

+ +
+ +
\ No newline at end of file diff --git a/demos/site/protected/Pages/Tos.page b/demos/site/protected/Pages/Tos.page new file mode 100644 index 00000000..18f4750c --- /dev/null +++ b/demos/site/protected/Pages/Tos.page @@ -0,0 +1,42 @@ + + +
+ +

Terms of Service

+ +

+This web site is owned and operated by Prado Software Group, (PradoSoft or we). We have created this page to share with you our privacy and legal policies regarding to your personal information and the contents on this site. +

+ +

Privacy Policy

+

+We do not collect personal information about you unless you voluntarily provide it to us or authorize us to collect it. We consider the following to be personal information: your name, email address, phone number, date of birth, job, personal interests, your e-mail address. We treat personal information confidentially. +

+

+We do collect and track certain non-personally information, including but not limited to, user IP numbers and browser type, access times, domain names, usage habits and other information which does not specifically identify any individual. +

+

+We may use cookies to customize your use of the web site and for other purposes to improve your use of the service, and may also use web beacons, web bugs, action tags and third party cookies. You may stop or restrict the placement of cookies on your computer or flush them from your browser by adjusting your web browser preferences, in which case you may still use our Service, but it may interfere with some of its functionality. We do not use cookies to automatically retrieve personal information from your computer without your knowledge. +

+ +

Legal Disclaimer

+

+All the information and contents posted on this web site are the property of PradoSoft, and are protected by U.S. and foreign copyright laws. By accessing this web site, you agree to the following terms and conditions. You shall not use this web site if you do not agree. +

+
    +
  1. This web site and its contents may NOT be copied or distributed in any manner without the prior written consent of PradoSoft.
  2. +
  3. PradoSoft MAKES NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THIS WEB SITE, ITS CONTENTS OR THE MANUSCRIPT, WHICH ARE PROVIDED FOR USE "AS IS" AND IS WITHOUT WARRANTY OF ANY KIND.
  4. +
  5. Portions of this web site may publish readers comments and opinion. PradoSoft does not assume or have any responsibility or any liability for the readers comments or opinions.
  6. +
+ +

Change of Policies

+

+The above policies may change from time to time. PradoSoft will post those changes on this page. +

+

+This page was last updated on May 2, 2006. +

+ +
+ +
\ No newline at end of file diff --git a/demos/site/protected/application.xml b/demos/site/protected/application.xml new file mode 100644 index 00000000..b937e82b --- /dev/null +++ b/demos/site/protected/application.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/demos/site/protected/runtime/.gitignore b/demos/site/protected/runtime/.gitignore new file mode 100755 index 00000000..d6b7ef32 --- /dev/null +++ b/demos/site/protected/runtime/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore -- cgit v1.2.3