What in your opinion is the best CMS which can be married with SC8 apps ?
Arthur
What in your opinion is the best CMS which can be married with SC8 apps ?
Arthur
I’ve never tried that exactly. At most I’ve done something like this:
1.- Using Scriptcase as the main “frame”, the front end is a scripctase menu.
2.- when I needed to embed an external working code (like, imagine, a category of a CMS), I just created a blank application on scriptcase which only executed a php location that pointed to the SMS URL for that category.
Like this, the user logs into scriptcase and if they want to open the “category”, they click the scriptcase menu and see the cms like “embeded”
If you need the oposite, it all depends on how you want to “marry” scriptcase. Is it just showing some content, or you need to share variables and data between both
At the end, I could tell you this: The one you are most comfortable with, will do the best job. And by comfortable I mean coding and tweaking. Sometimes you can solve that just with an iframe container that might be already included in your CMS, or you might need to build a plugin or such.
Anyway, good luck!
[QUOTE=aka;38351]What in your opinion is the best CMS which can be married with SC8 apps ?
Arthur[/QUOTE]
There are a module thath integrates in some way Joomla with SC. JScriptcase is the name AFAIR
you need some kind of integration?
Giuseppe - this component is not available anymore
[QUOTE=aka;38351]What in your opinion is the best CMS which can be married with SC8 apps ?
Arthur[/QUOTE]
There is no such thing as ‘the best’. We work with E107 and that goes very well, but any cms that is able to use wrappers will integrate the same way.
Do you use E107’s authentication or do the users log on using SC’s security?
It depends. When you logon to e107 I send the userid to the scriptcase application so that the sc security can do it’s job also. But I sometimes make use of SC logon using the E107 tables.
Hi Albert, how do you send the id to Scriptcase?
Thanks,
The userid is in E107 an accesable variable. Then I create an IFrame and pass the data to the scriptcase application that runs in this iframe. As simple as that.
Hi Albert, but how receive the data Scriptcase? Do you set some variables, or create one registry in some table or something like that?
Thanks for help,
Albert - can you show an example how you post CMS variable to SC ? It sounds a bit cryptic to me. Are you using session variables of your CMS ?
I know this is a major problem when integrating third party Apps with CMS systems. One solution that comes to my mind is to keep session variable in a database so then you can access it easily with SC but not all CMS systems allow to set it up that way.
Arthur
No, I don’t pass session variables. In my e107 cms I use the security tables of my CMS. If I want to start-up a scriptcase application I do that in an iframe. I.e. <iframe src="http://www.mysite.com/myscriptcaseapp.php?user=E2A5E3EFF334FE&crc=43EECE</iframe>
In E107 there are predefined variables you can use and you only need to put in a few lines of php code to get this done, if you use a wrapper plugin it’s even more easy.
Thanks Albert, but how read ScriptCase this info? --> user=E2A5E3EFF334FE&crc=43EECE… is necesary to add some code to the SC app? Can you give some idea about how read it?
Thanks a lot! :o
Like I said - you solution Albert might work (no doubts) but it is rather for simple projects. I do not know your CMS system so will no comment on that but I know one thing that I tried.
If you create a menu system (internally within CMS) and you call a SC App, then from that App you want to call some CMS page, or another SC App and pass parameters yo u are in trouble. Also integrating any SC App on the page that has some other functionality (ie, show some text, image, video, has links or other tables) makes the whole thing unstable and unpredictable. I tried that in the past and believe me all kind of wired things happen (at least in Joomla and WP). Those things happen to SC Apps (not to the CMS). I think if finally NetMake implements BootStrap it would be much easier to integrate but it is a long way because SC is not build as an open tool from the ground up. I think that TOTAL SEPARATION OF BUSINESS CODE FROM THE HTML/CSS is a must. I do not think that at this moment SC can even fall into MVC structure so any integration becomes very tedious and as a result kills all benefits of using SC as super fast development tool.
Remember that you are running php, scriptcase is nothing more than a php generator. So if you send parameters by the url then you can read that in your main application with $_GET[‘myvar’]. Look at the php info.
Arthur, no I don’t call cms pages from my cms directly, you cannot. The application is running within an iframe. What you can do is to call the full cms url to that page with sc_redir and use _parent to break out your current IFrame. We have a lot of scriptcase pages running as a separate application hosted within a cms. You logon to the cms and the necessary data is passed to the url running in an iframe in that cms. That’s only one-way traffic. So if I would call page 1 from my scriptcase application that is already running in a wrapper or iframe plugin I would do something like
sc_redir(‘myurl/e107news.php?page=1’,’_parent’);
It will depend of the app, normally you’ll process the data through the events (application init for example)
As best practice, I prefer to use a blank app to process the data and then redirect to the final app after doing what (specially for bigger apps / systems)
Thanks Arthur I go to try with this information that you gave me. Regards.