# General

## I suggest you ...

You've used all your votes and won't be able to post a new idea, but you can still search and comment on existing ideas.

### There are two ways to get more votes:

• When an admin closes an idea you've voted on, you'll get your votes back from that idea.
• You can remove your votes from an open idea you support.
• To see ideas you have already voted on, select the "My feedback" filter and select "My open ideas".
(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

1 vote
Vote
Check!
(thinking…)
Reset
Signed in as (Sign out)
You have left! (?) (thinking…)
• ## php-fpm "zend_mm_heap corrupted"

Havn't been able to analyze core dump, but keep getting this error...
"zend_mm_heap corrupted"

1 vote
Vote
Check!
(thinking…)
Reset
Signed in as (Sign out)
You have left! (?) (thinking…)

http://www.slimframework.com
http://silex.sensiolabs.org

Vote
Check!
(thinking…)
Reset
Signed in as (Sign out)
You have left! (?) (thinking…)
• ## Bug report

I don't know if this is the right place but when copying .dll file on windows 7 (32bit), entering extension=php_phalcon.dll and restarting the server.. nothing happens. I'm using WAMP stack, if it matters.
PHP error log is empty, it's just like the extension doesn't exist and isn't loaded.

Vote
Check!
(thinking…)
Reset
Signed in as (Sign out)
You have left! (?) (thinking…)
• ## symfony2 Fair TEST

Hi for Symfony2 hello world
https://github.com/symfony/symfony-hello-world
(posted by one of the lead developer's of symfony)

My Personal results with it

Time taken for tests: 0.958 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Non-2xx responses: 1000
Total transferred: 239000 bytes
HTML transferred: 0 bytes
Requests per second: 1043.30

1 vote
Vote
Check!
(thinking…)
Reset
Signed in as (Sign out)
You have left! (?) (thinking…)
• ## Gonzalo Nicolás Cifaldi Ruano

I think that, the Documentation needs a "print to pdf" option.

1 vote
Vote
Check!
(thinking…)
Reset
Signed in as (Sign out)
You have left! (?) (thinking…)
• ## How to create controller in subdir ?

Vote
Check!
(thinking…)
Reset
Signed in as (Sign out)
You have left! (?) (thinking…)

hi ekobayong, with the new flexible mvc architecture provided by Phalcon 0.5.0 you can do this. Thanks for the idea.

• ## Router API improvements

I really appreciate the effort of you guys, but Phalcons routing API doesn't look as good as in other frameworks like Laravel, Cake, Lithium, SlimPHP, Sinatra, Rails. I strongly suggest you to take a look at the way Lithium router api is designed, it looks very clean and could be a good improvement for Phalcon.

An example:

Router::connect('/some/url/:someParamater[some-regex]', 'MyController::MyAction');

An example from SlimPHP:

$app->get('/hello/:name', function ($name) {
echo "Hello, $name!"; }); Personally, I consider this far more pleasant and less verbose. Thanks for listening and for doing this already great framework. 3 votes Vote Sign in Check! (thinking…) Reset or sign in with I agree to the terms of service Signed in as (Sign out) You have left! (?) (thinking…) • ## Add Module Support to implement HMVC Thinking about this, I created a simple simulation of modules for Phalcon! My example is adaptation from the sample hello word app downloaded at this link: http://phalconphp.com/files/phalcon-tutorial.zip :) Here goes: 1. First edit .htaccess in /public folder as follows: AddDefaultCharset UTF-8 <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(\w*)/(.*)$ index.php?_url=$2&module=$1 [QSA,L]
</IfModule>

The module attribute indicates the module will be called!

2. To test, rename 'app' folder in example to 'modules'
3. Create subfolder called 'm1' (our example module)
4. Cut 'controllers', 'models' and 'views' folders and paste it into 'm1' folder created in step 3 …

Vote
Check!
(thinking…)
Reset
Signed in as (Sign out)
You have left! (?) (thinking…)

sorry for the long wait, Phalcon 0.5.0 now supports multi-module applications.

• ## ¿how to install on godaddy web hosting?

your framewor its beautiful, but i dont know how to install this in my godaddy web hosting account.

1 vote
Vote
Check!
(thinking…)
Reset
Signed in as (Sign out)
You have left! (?) (thinking…)

hi cesar, if host have linux, i believe just need to access by ssh, and compile the extension as usual, enabling the extension in the php.ini.

I’m not sure what kind of linux distribution the hosting could have, maybe some tools like gcc aren’t available.

Follow these instructions to install it, if you have any problem feel free to come for help.

http://phalconphp.com/documentation/install

• ## Add CakePHP to the benchmarks

Vote
Check!
(thinking…)
Reset
Signed in as (Sign out)
You have left! (?) (thinking…)
• ## Custom routing

It would be awesome if we already had the option to create custom routes that do not follow the :controller/:action/:arguments convention.

Vote
Check!
(thinking…)
Reset
Signed in as (Sign out)
You have left! (?) (thinking…)
• ## Yii in the Framework Benchmark

For Yii, you should use yiilite.php when APC is enabled: http://www.yiiframework.com/doc/guide/1.1/en/topics.performance (point 3).

1 vote
Vote
Check!
(thinking…)
Reset
Signed in as (Sign out)
You have left! (?) (thinking…)
• ## Support for template systems

I t would be good to have a hook where developers could change the main controller behavior while rendering views, so a template system like Mustache could be used. Or maybe it could be implemented with framework extensions.

Unfortunately, I don't know C, and I'm not sure if there is already a way to do that with Phalcon. IMMO, a template system is an important feature for a large amount of developers.

Vote
Check!
(thinking…)
Reset
Signed in as (Sign out)
You have left! (?) (thinking…)
• ## Support Memcached

Sure, Phalcon is quite fast. However, if there are lots of SQL queries running at each page load, this drastically reduces performance. This means that the queries need to be cached. The cache period depends on the nature of the information. Of course, when changes are entered the cache is cleared. I recommend memcached. It's quite fast and reliable. Check it out @ http://memcached.org/

This would be awesome.

Vote
Check!
(thinking…)
Reset
Signed in as (Sign out)
You have left! (?) (thinking…)

Hi, full cache integration is now available in 0.4.1 Thanks for this idea :)

• ## Native multi-language support

http://127.0.0.1/blog/posts/show/301

Phalcon Directory blog
Controller posts
Action show
Parameter 301

We would have:
http://127.0.0.1/blog/en/posts/show/301

Phalcon Directory blog
Language en
Controller posts
Action show
Parameter 301

Variables would then be passed as arrays or something in the template. Maybe there's a better way, this is just an initial concept. Great framework tho!

Vote
Check!
(thinking…)
Reset
Signed in as (Sign out)
You have left! (?) (thinking…)
• ## Naming and file extension "consistency"

Hi, thou this tought might be very subjective, I decided to share it with you and find out what do you think.
Two things that I find confusing / disturbing / name it as you like :)
Phalcon_View class:
$this->view->setParamToView("postId",$postId);
Do we really need method name like setParamToView? What about simple set ? Right here http://phalconphp.com/api/class/Phalcon_View set() method seems unused, and In my (again, subjective) opinion, would be much more convenient.

Second tought:
Do view files really need to have .phtml extension by default ? I mean, phtml files are actually not HTML files (HTML file cannot process PHP…

Vote
Check!
(thinking…)
Reset
Signed in as (Sign out)
You have left! (?) (thinking…)

hi, validationHasFailed is needed because of developer can choose if return false or true inside the method canceling or allowing the saving process. Some validations are expected to fail. ;)

• ## Code completion to major IDE's based on stub files

Hello, it's me again.
I just tought it would be nice to have code completion in some IDE's, like PhpStorm or Netbeans. I did a little research on how could it be done, having in mind that it's a .dll file.
Solution that comes here is usage of "stub" files, files like this one http://codepad.org/bIE15rEO containing declarations of functions/methods and classes.
Location of this file in PhpStorm is \plugins\php\lib\php.jar\com\jetbrains\php\lang\psi\stubs\date\date.php for example.

Vote
Check!
(thinking…)
Reset
Signed in as (Sign out)
You have left! (?) (thinking…)
• ## Inherit from generated models

I've been working with Qcodo/Qcubed frameworks, their ORM is really great, since it creates two kind of models: Generated and Usable.

Generated models are always rewritten when the developer executes the equivalent to the "generate_all_models" command (they are stored in /models/generated).

Usable models inherit from generated ones, and it can be modified by the developer, since these ones are not modified by the generate action, just the generated.

This allows the developer to add logic and custom methods and properties to the models and also regenerate the generic ones.

I don't know if a feature like this can be implemented…

Vote
Check!
(thinking…)
Reset
Signed in as (Sign out)
You have left! (?) (thinking…)
• ## 1. Add named routes and url generators

$router->add("post-show", "/posts/([0-9]{4})/([0-9]{2})/([a-z\-]+)", array( "controller" => "posts", "action" => "show", "year" => 1, "month" => 2, "title" => 4, )); and in view: <a href="<?=Phalcon_Tag::generateUrl('post-show', array('year'=>'2012', 'month'=>'june', 'title'=>'some-title')?>">Show post</a> or better even: <a href="<?=Phalcon_Tag::generateUrl('post-show',$postModel)?>">Show post</a>

Vote
Check!
(thinking…)
Reset