ASP.NET PHP View: using Phalanger for only one page -


question

is possible use phalanger (https://phalanger.codeplex.com/) in asp.net mvc 1 view , leave else using normal razor view engine?

situation

i using elfinder in site integrated using elfinder connector .net.

ideally, integrate responsive file manager, here: http://www.responsivefilemanager.com/index.php

unfortunately, aforementioned file manager written php.

i have read php can used within mvc using phalanger (see: http://www.infoq.com/articles/phalanger)

and wondering whether @ possible create php view , make file manager work site while @ same time leaving other pages alone.

note, know nothing of php @ all...

if @ possible, how go starting this?

edit

i found simple implementation of mvc php view engine here (which based on phalanger): https://phpviewengine.codeplex.com/

i seem have sort of got working tinymce. shows quite nicely, when trying select file, throws various javascript errors. here link demo project made:

http://www.mediafire.com/download/p418f8xp7t9kiz3/phpmvc.zip

any geniuses out there can figure 1 out?

edit 2

the reason working when shouldn't have been silly enough have tinymce config point author's server.. follows:

external_filemanager_path:"http://test.albertoperipolli.com/secondaryserver/filemanager/", external_plugins: { "filemanager" : "http://test.albertoperipolli.com/secondaryserver/filemanager/plugin.min.js"}, 

now when correct point local installation, have following error:

"the page requesting cannot served because of extension configuration"

i guess need tell iis / iis express how deal php files. looking @ this: https://support.microsoft.com/en-us/kb/2819022

edit 3

thanks, @jakub míšek tip. did bit further - upgraded phalanger 4 advised , updated mvc5 while @ it. seems code being run, still not successfully. when try browse, there exception thrown in config.php file follows:

an exception of type 'php.core.phpexception' occurred in phpnetcore.dll not handled in user code  additional information: call undefined function: 'session_start' 

this being thrown @ first line of code, is:

session_start(); 

if comment out , continue, next line throws same exception.

i've heard entire frameworks, such prado can run on phalanger. guess still doing wrong here.

i have uploaded latest attempt to: http://www.mediafire.com/download/2jz85y17znmtlz6/phpmvc5.zip

would appreciate if can provide working example. start bounty large number of points when allowed , reward whoever can give best answer... having file manager in asp.net indeed awesome.

edit 4

i making pretty progress now, having worked out few issues... see screenshot below current status. have using .cshtml files (the php files being called file manager being processed php view engine), really, fantastic. seems have more issues deal with.. if manage working properly, post solution here benefit of others.

enter image description here

i solved this. interested, see article on codeproject: http://www.codeproject.com/tips/1004596/using-responsive-file-manager-in-asp-net-mvc


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -