User management, authentication and acl plugin for CakePHP? [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am pretty new to CakePHP, having been using rails for a little while. My question is, can anyone recommend a good user management, authentication and acl plugin or component for Cake?
I have come across this one, but it has not been updated since 2008. If not can anyone recommend a good book/tutorial site for this kind of set up? I am more than happy to sit down and write this kind of thing myself, but would rather use a tested community plug-in.
Cheers

I found this one which is updated, works with latest CakePHP v1.3.. But haven't tested it though. Link: http://github.com/jedt/spark_plug

I haven't yet found a plugin that I've been completely satisfied with. I've been using the SimpleAclComponent and SimpleAuthComponent (that are based on
A lightweight approach to ACL - The 33 lines of Magic) to build a custom solution.

You could try the phpGACL plugin for CakePHP - I've had some amount of success with it but it takes a bit of getting used to. You're best checking out the 1.2 branch from the Cakeforge repository though, rather than just going for the "download" link on the plugin's home page, which hasn't been updated for some time.

I am currently using this one, http://bakery.cakephp.org/articles/view/acl-management-plugin,
but I had to modify it a bit to get it to manage CRUD. I'm curious what others will post in this thread.
-Matt

It took some wrestling, but I did eventually get authentication and acl working via built in CakePHP components, Auth and Acl.
Getting it setup was smooth until it came time to grant and deny permissions. For this I use an Acl management plugin by Jeff Loiselle that I got from http://bakery.cakephp.org/articles/view/acl-management-plugin

I use this nice plugin : http://sourceforge.net/projects/pippoacl/
You could manage users, groups and permissions of groups with ajax in very nice and user friendly interface

I have tried all what is posted above but nothing can beat Authake

Try this one https://github.com/CakeDC/users
It is from CakeDC

PoundCake Control Panel works with CakePHP 1.3

Related

Adding CCS, Javascripts and PHP files into Joomla websites [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am quite new to Joomla and have come across a problem that annoys me as a programmer alot!
Now Ive been watching several tutorials on-line and all of them state "Its so easy for non programmers to create a website with Joomla"
While that's fine and all there seem to be few tutorials that actually show what "powers" you do have if you infact have programmering experience.
Here is my problem:
I want to be able to add PHP, Javascripts CSS and HTML to my site i have stumbled across JUMI but as far as i know it only allows me to add scripts to articles and modules.
Here is an example of what i want to achieve:
I will buy and use a template at Themeforest Then i want to create a search bar using HTML and PHP, when using the search option the site will run my script and load the result into a table using a combination of JQuery and HTML.
Other than that i wish to create a session so that when user for example tries to purches items on my site will be saved and so that my site actually remembers the users choices.
Now i do not except you guys to have all the answers but a simple redirect to a tutorial, paper or any other place where i can learn about how to make this work would make me very gratefull.
Question update
So i think my question is abit hard to understand i ive made this update:
Maybe i have misunderstood some things but say for instance one of you guys download a template how do you go on from there? how do you manipulate the modules so that when you search for something the search is done in another database table than the default one? how do you create a login for users to use and add your own costum scripts?
These are only a few examples but i hope you get the idea.
Read more abou Joomla modules. They allow to add bits of your own custom functionality to your websites :
http://docs.joomla.org/Module
[update]
If you need to create more self-contained bits of functionalites that operate on their own db tables ect then you most likely need to build component (the tutorial below is quite hands-on):
http://docs.joomla.org/J2.5:Developing_a_MVC_Component/Developing_a_Basic_Component
I realize the Joomla docs are not great. I myself learned most by studying code of core templates and components
Search bar is a full integrated feature to frameworks like
Joomla
Drupal
Wordpress
and so on..
If you want sessions and some more advanced security mechanism you might want to think about buying a ssl certificate and do most of the interaction to the server by SSL encryption.
Also you sholud look at:
http://www.opencart.org
is that answer your problem?
I think you are working on a joomla 2.5. I don't know if you are able to build a new template (copy of Themeforest) and override that.
For the adds you got many solutions. You can override your template, build modules or componments that you gonna put in different postion, or you can try some plugin like sourcerer, module anywhere...All that depends on the type of your site, sometimes that doesn't feet.
For the session I think you still have several choices, build it from scratch or search for a module.
Hope that helps.
I would create a module. I'm sure there are several ways to do that but that's what I would do. From scratch or with blank_module (joomla module).
You got some doc here : http://docs.joomla.org/J2.5:Creating_a_simple_module/Developing_a_Basic_Module
Here for the output ovveride (other database for example) : http://docs.joomla.org/Understanding_Output_Overrides

Web application admin generators [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Since Symfony 1.x's admin generator, I found this kind of tool really useful to prototype applications, show something very quickly to customers etc.
Now for Symfony2, admin generator does not seems to be a priority (see here and here)
Django's admin generator seems very interesting...
Which web application admin generator (any language / technology) would you recommend (pros / cons)?
Django's automatic admin app is excellent. Once you've written your models, it automatically creates a full-featured admin app around them where you can create, update and delete records. It's also extensible and customizable for just about whatever you need.
Here's a pretty good overview about it. Django (and python) is intuitive and satisfying to work with -- I highly recommend that you set it up and play with it and see how well it works.
Updated 2017
Agile UI (a successor of atk4.3) is an MIT based PHP UI Component library. It gives your application nice looking, consistent User Interface without you have to write any HTML and works with any PHP framework or application.
Demo: http://ui.agiletoolkit.org/demos/index.php
The reason I think this is better than a built-in generator:
Almost no dependencies, works with any framework or PHP app.
Can work with SQL or NoSQL, relies on Agile Data.
Stylish, modern and responsive. (Semantic UI)
Interactive. "Form" uses JS to submit, display in-line validation. "CRUD" uses modal windows, pagination and QuickSearch.
Extensible. Need charts? https://github.com/atk4/chart.
Open-source
To build a minimalistic application admin you only need 15 lines of PHP code:
<?php
$app = new \atk4\ui\App('My App');
$app->initLayout(new \atk4\ui\Layout\Admin());
$db = \atk4\data\Persistence::connect($DSN);
class User extends \atk4\data\Model {
public $table = 'user';
function init() {
parent::init();
$this->addField('name');
$this->addField('email', ['required'=>true]);
$this->addField('password', ['type'=>'password']);
}
}
$app->layout->add(new \atk4\ui\CRUD())
->setModel(new User($db));
Result:
Personally, I have found Yii's scaffolding is the best there is. Quick First Application
What I truly loved:
Controlled creation of files. Yii provides an interface to create all required files, called Gii.
You have the ability to generate your model classes based on the database model.
You have the ability to generate CRUD operations for all your model classes (Action methods for your controller class).
The generated scaffolding includes: Pagination, Searching, Advanced Searching, Listening, Inserting and Updating includes validation out of the box, Deleting. And all of the interface is ajax driven.
For Ruby on Rails: Here is some discussion on SO
But ActiveScaffold's home page at the moment is still talking about Rails 2.3, so you may want to read past the accepted answer and check the others to see if there are newer ones.
Rails Admin looks to be actively developed and has good pedigree (having been a Google Summer of Code project mentored by big names in the Rails community, so I'd start there if I were looking.
I can recommend CakePHP scaffolding, where you can also add admin routing. Nice for you is that you can stay on PHP, which you also used for Symphony. Be warned, you might get addicted to Cake ;)
something a lot more powerful for CakePHP is https://github.com/josegonzalez/cake_admin, little bit of a Django rip-off :)
I like sprox, for Python. Although I have not found it particularly useful for production, it can help a lot in terms of prototyping and testing -- its simplicity is its strength here, enhancing Python's own strengths.
Padrino has "Padrino Admin":
http://www.padrinorb.com/guides/padrino-admin
While not as popular as Rails, it's built around the excellent Sinatra DSL.
For Rails applications, Rails Admin with CanCan is the best solution as of now. These are very actively maintained and supports Rails 3.0. With CanCan, you can customize access on models. So that you can easily set multiple level of admins/authors. Previously I have used ActiveScaffold for 2.0 application but it doesn't seem to support newest Rails.

Does anyone know of any open source availability / scheduling systems? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm trying to make an availability / scheduling system... Basically, I want users to be able to log into this system, and show that they're available during a certain time block, then I want another user to be able to log in and see who's available and when, and to be able to book someones time (so they no longer show up as available). I want to use PHP and SQL. Does anyone know if there are any open source systems out there that do something similar? I feel like there would be and it would be silly to rebuild one from scratch.
Although I want to use PHP and SQL, I'll consider any other open source tools that don't use those technologies, but obviously php and sql are preferred.
Thanks
EDIT: I know this problem can be solved with google calendar... but I need to find another way other than google calendar.
I found this open source project. You can check this: http://supercali.inforest.com/
SuperCali is an event calendar script that supports nested categories of events and multiple moderators, making it a good choice for organizations managing a large number of activities. SuperCali is designed to make data entry as easy and error-free as possible as well as provide a flexible, modular framework for displaying event information. SuperCali works with PHP and MySQL and is free, "open source" software released under the GNU General Public License.
Ok, I'm going to go a little outside the box here and ask if you've considered Gmail's calendar app? It has apis but I think you can skip that and just have the user's share their calendars and they can see them all together in one view.
This has the benefits of taking care of the security for you the advanced scheduling for you.
I know it's not what you're asking for but if you're just wanting the scheduling without the security headaches and coding necessary to bring it up and online, maybe this will work.
mrbs? Any ical server?
Check out http://phpicalendar.net/ as a decent ICalendar client. This makes basically any ICalendar server viable.
More specific to scheduling, there is an open source project using php and mysql called phpMyCal at http://dev.neb.net/phpMyCal/
We do this with MRBS http://mrbs.sourceforge.net/ and it meets your specifications of php/mysql- while it sounds like a room booking system, it is for reserving anything. It is very flexible, uses many different authentication systems, and if I can install it (with help from the user forums), probably anyone can.

Scaffolding for PHP [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Is there any thing in PHP to create basic scaffold, like in Rails?
EDIT: I need something to prototype quickly..
Some frameworks like Symfony, CakePHP, Akelos, CodeIgniter and others have support for scaffolding.
However if you don't want to use a framework you can try phpScaffold which generates CRUD scaffold pages based on phpMyAdmin table exports...
I also wanted some fast prototyping, but I wanted it to generate the code, so it's easy to update it. I made many improvements on phpScaffold (HTML5, nice CSS, many models at once, etc) which are published on http://github.com/tute/phpscaffold.
Phreeze makes this simple and easy. http://phreeze.com/
QCodo is another great option. And since it uses reflection to do Code Generation instead of reflection at runtime, you'll likely see better performance.
First, Rails is a framework. PHP is a language. PHP does not have built-in scaffolding support, just as Ruby--the language Rails is build on--does not. A framework like CakePHP, however, does support scaffolding.
Second, I see that you raised an objection to CakePHP because "you still have to do a bunch of stuff." That's true--with any framework, you're going to have to learn new conventions, configurations etc.
CakePHP got plenty of scaffolding options
If you throw Crud + API plugin on top, you basically got everything you need, with tons of nice additions
cakephp-crud: The active successor of the two projects below. Provides both Crud actions, API, Scaffolding, Searches and more
Crud Plugin: https://github.com/nodesagency/Platform-Crud-Plugin
API Plugin: https://github.com/nodesagency/Platform-API-plugin
They all utilize CakePHP events, so its really simple to extend and modify the default behavior
For myslef I Use CodeIniter for development, sure they have scaffolding, but only in terms of a "simple scaffolding" which mean you're not gonna use it in live product (i dunno about everyone but i'm only using it as some tools) .
but if you need some like CRUD generator you can use SparkPlug , or Ignition both of them can be used on Codeigniter
This was asked quite some time ago, but if it's still relevant check out this nice scaffolding class (check the demo)
Yiiframework has a good code scaffolding system called Gii. It's web based. Once you create the tables, you can generate the CRUD classes from within the browser. No command line needed. I like this scaffolding.
If you use CakePHP as the web framework it supports scafalding. See this link for more info. http://book.cakephp.org/2.0/en/controllers/scaffolding.html
I'm not sure what the SO policy is for dead thread revival but I figured I would add my own two cents in case none of the above solutions were satisfactory. If you're looking for a PHP-based MySQL scaffolding tool, check out AMPLE Scaffolder. The entire package is contained within a single PHP file (less than 200k) that can simply be dropped into a web accessible directory whereupon you have immediate access to local and remote MySQL databases based on the internal database permissions. No schema exporting, configuration files, or other hassles. Plus, there's a whole lot of other capabilities to offer as well. Just thought I'd share it in case you were looking for another option. Feel free to check it out and post feedback if you have any questions.

Simple, free PHP blog engine easy to redesign? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am looking for a PHP blog engine which needs to be easy to redesign (CSS, HTML). It also needs to be free and have simple user interface so that the client doesn't struggle to add posts. Any suggestions?
Wordpress - I keep trying other blogs and I keep going back to wordpress. It's definitely the easiest I've used for customizing templates, and the admin UI is very nice.
I kinda like b2evo we used it on our site and modded it to great effect.
I hear Chyrp is nice. Textpattern gets some praise too.
I am using flatpress for over a year and i am not going to change it for nothing.
Flat text files, simply admin panel, a lot of useful plugins, templates, widgets, static pages, rss2-atom, categories, upload mechanism.
It's easy and super simply. And if your want backups, make a tar. If you want to transfer it, just copy the tar.
http://flatpress.org
I have been very impressed with WordPress since I started using it.
I have had a look at the CSS that sits behind and it has a good structure in my view. There are lots of templates and good information on building your own.
I have recently started looking at NetTuts mainly for the Ruby on Rails tutorial but there is lot of good tutorials on extented WordPress at http://nettuts.com/category/working-with-cmss/
Well, it's hard not to suggest Wordpress. Redesigning it isn't too terribly difficult, a monkey could use it, the admin interface is simple and easy on the eyes, and it has great community support. I'd recommend using the Automatic Upgrade plugin with it as well, so that your customer can always stay up to date as well (for security reasons).
It is not exactly a blog engine but you may find Typolight interesting. It is very easy to use and fairly extensible.
Wordpress is definately the answer here. It's got a large community that can assist, with a lot of available free themes you can use and customize to build your own template.
It is also easy to extend with a wide range of plugins.
There are a lot of Linux hosted servers that come with Wordpress preinstalled already to make it even easier, but the installation of it is simple and straight forward.
Only one answer, Wordpress. I have used it only a few times to customise but simply found that it can be done by editing the header and footer files along with the stylesheet.
What can be simpler.
I suggest you just give it a go before you look at others as you could deliberate for ages just to come back to it :)
In the blog specific package area I have used: Textpattern, Typolight, Nucleus, Serendipity and Wordpress. Hands down, Wordpress is the easiest for end-users to manage and, frankly, it is one of the easiest to template. The userbase for Wordpress is so large that you can easily find resources to help you out when you get stuck on something.
My only practical complaint about it is the need to set up caching so that it doesn't get bogged down by a Digg/Reddit/Etc. overload. However, if you set the cacheing up, you are good to go and can handle significant traffic.
Simple PHP Blog. very, VERY simple. Very lightweight. Completely customizable. you dont have to worry about using a database! I find it great! http://sourceforge.net/projects/sphpblog/
Go get it!

Categories