PDA

View Full Version : ZF-Ext Template



rule3
5 Oct 2009, 11:44 AM
Here is my framework.

Original post:
http://www.extjs.com/forum/showthread.php?t=81379

Download: http://mattikiviharju.name/downloads/zf-ext-0.0.2-r5612.zip

What this can do:
- It uses lot of Open Source Frameworks in package. And be Zend Framework, PHP and MySQL-based
- Model View Control (modular structure to make modules/applications behind authentication)
- Access Control List (every functions of modules can be denied/allowed to use by user roles that inherits all ACL rules from lower level roles and also views that users can or can’t see of modules can be managed. In example with admin right modules looks like different and have more visible functions instead basic users haves) / Login and Logout / User Management / User Roles Management
- ExtJS based rich internet GUI.
- Loging of software function errors
- Ability to edit MS Office Excel 2007 files with PHP
- Ability to edit MS Office PowerPoint 2007 files with PHP
- Localization

Alberto Wagner
8 Oct 2009, 4:41 AM
Hello!

I'm trying to test your framework, but index.php is hanging in this line of Bootstrap.php:


Zend_Loader::loadFile('Zend/Date.php', $dirs=null, $once=true);

I tried putting some debug code on Date.php but nothing is echoed to the browser unless I empty the Date.php file.

rule3
9 Oct 2009, 2:56 AM
Hello!

I'm trying to test your framework, but index.php is hanging in this line of Bootstrap.php:


Zend_Loader::loadFile('Zend/Date.php', $dirs=null, $once=true);

I tried putting some debug code on Date.php but nothing is echoed to the browser unless I empty the Date.php file.

What exacly you try to do?

I am noticed that Zend_Loader::loadFile('something content'); Do not work very well..

Actually Data.php is just class file and you can use it on modules controler action methods.

http://framework.zend.com/manual/en/zend.date.html

There is var $date with class Zend_data($locale);

So write in module controller action method something like this.

fooActrion() {
global $date;
echo $date->something();
}

then link /zf/public/modulename/controllername/foo will echo that made with Zend_Date Class.

In folder /zf/public is file .htaccess so try to edit it.



SetEnv APPLICATION_ENV production
php_flag display_errors Off
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]


turn line php_flag display_errors Off to php_flag display_errors On

Alberto Wagner
9 Oct 2009, 4:29 AM
What exacly you try to do?

I followed the steps on readme.txt and opened browser on /public/index.php (if I'm not mistaken).

That loadFile is inside Bootstrap.php, I did not write it. Nothing is shown in browser when I open index.php, even with show errors on. I tried debugging where the error might be, putting some echo 'hi'; on my code, and I found that it stops echoing after that line.

Alberto Wagner
9 Oct 2009, 4:30 AM
Oh... .htaccess with display errors off... I'll check it. Thanks!

rule3
10 Oct 2009, 6:13 AM
Oh... .htaccess with display errors off... I'll check it. Thanks!

This software is tested only in virtual private server with Ubuntu.
I am not know does it works on normal hosting.
You need PHP 5.2.+
pdo_mysql
./application/log must be writable
you need apache mod_rewrite
much allowed overwrites with .htaccess
ability to PHP modify php.ini

rule3
15 Oct 2009, 12:46 PM
You can now post Issues to my Application Lifecycle Management now with this form..
http://mattikiviharju.name/zf-ext-defect/

rule3
23 Oct 2009, 9:21 AM
New screenshots of upcoming release..

rule3
24 Oct 2009, 5:55 PM
New version 0.0.2 is now released..

Artur Bodera (Joust)
26 Oct 2009, 4:31 AM
Here is my framework.

Original post:
http://www.extjs.com/forum/showthread.php?t=81379

Download: http://mattikiviharju.name/downloads/zf-ext-0.0.2-r5612.zip

What this can do:
- It uses lot of Open Source Frameworks in package. And be Zend Framework, PHP and MySQL-based
- Model View Control (modular structure to make modules/applications behind authentication)
..

I don't quite see the goal of such framework of frameworks. All of mentioned features ARE features of Zend Framework. ExtJS is a framework for building GUIs.
ZF already has, out-of-the-box, cascaded ACL support, db support, localization and everything else. If your work helps to build an "enterprise app" faster - i.e. by creating a skeleton for actions, users, and some logic - then it's an app template, not a framework.

For example action-based fine grain ACL checks are basically 3 lines of code in preDispatch() of a ZF controller + some ACL definitions in bootstrap+DB.

Additionally, take a look at ZF Incubator - it includes numerous new components that will make their way to next ZF version, and they contain most-requested new features.

rule3
26 Oct 2009, 5:37 AM
I don't quite see the goal of such framework of frameworks. All of mentioned features ARE features of Zend Framework. ExtJS is a framework for building GUIs.
ZF already has, out-of-the-box, cascaded ACL support, db support, localization and everything else. If your work helps to build an "enterprise app" faster - i.e. by creating a skeleton for actions, users, and some logic - then it's an app template, not a framework.

For example action-based fine grain ACL checks are basically 3 lines of code in preDispatch() of a ZF controller + some ACL definitions in bootstrap+DB.

Additionally, take a look at ZF Incubator - it includes numerous new components that will make their way to next ZF version, and they contain most-requested new features.

Thanks about reply. I can use this only self traning. Always I am tried this kind of idea I am successed to use it in customer project to copy reusable things and modify them.

But self training is important and work samples also when I try to get customers. But possible this is not good idea for framework of framework..

Also making your own software idea might be bad idea like I am going to do project management software with this.. because there is just enough compentive product.. and possible I do success get all 0-2 customers..

rule3
26 Oct 2009, 9:11 AM
So if this is bad idea.. okay what I do? I am developed ERP software since 2003 to manage CV:s etc. So it is good idea to make system where user can make CVs and manager can search career CVs. I have done rekry!Joom ERP for Joomla..

rule3
26 Oct 2009, 7:03 PM
then it's an app template, not a framework

Meaby I then change name to app template then..

Artur Bodera (Joust)
28 Oct 2009, 2:40 AM
Meaby I then change name to app template then..

Please do :-) But you are doing a great job!
There is a genuine need for more knowledge on Ext JS and mashups of related technologies for archiving specific goals.

If you can make your work into a reusable template (download+extract+customize = working app) you'll definitely.

Take a look at:
http://blog.extjs.eu/know-how/writing-a-big-application-in-ext-part-3/

I see there is a need for ready-to-use templates of big applications, application structure and server side of the whole deal (hence - using ZF).

Artur Bodera (Joust)
28 Oct 2009, 2:42 AM
So if this is bad idea.. okay what I do? I am developed ERP software since 2003 to manage CV:s etc. .

ps: CV management != ERP software

rule3
30 Oct 2009, 5:07 AM
ps: CV management != ERP software

Whatever, but I was got ERP is software for Resource Planing for Enterpice..
Resuource == Human Resource or something else (Non-homan Resource)..
So we place our employees to some postions/tasks in business.. CV is part of see who is the employee and what is his/her skill set/experiense so it helps to place person to some position/tasks in a project etc...

rule3
30 Oct 2009, 5:12 AM
Please do :-) But you are doing a great job!
There is a genuine need for more knowledge on Ext JS and mashups of related technologies for archiving specific goals.

If you can make your work into a reusable template (download+extract+customize = working app) you'll definitely.

Take a look at:
http://blog.extjs.eu/know-how/writing-a-big-application-in-ext-part-3/

I see there is a need for ready-to-use templates of big applications, application structure and server side of the whole deal (hence - using ZF).

Thanks..

I will chack that manual and use it on my templates..

rule3
5 Mar 2010, 10:17 PM
Now my brand new company is public:
http://www.i4ware.fi/

If you want source code of ZF-Ext Tamplate contact me on PM or via my company public email addresses..