Yii local to online implementation - yii

I am new to Yii and I wonder if it is at all possible to install Yii locally and build an application with it , then without installing Yii to your server or webhosting , upload the files and get the application into use ?

You shouldn't have to install anything. Just make sure the entire directory (including the framework obviously) is uploaded to whatever web hosting you are using. Having PHP installed on the server should be the only requirement so make sure it's there.

Related

Recreate Sitecore site locally from an existing site

I am supposed to recreate a sitecore site locally on my machine to match the client site. The client sent me three directories: Sitecore Foundation, Sitecore feature, and the website project. Each directory has it's own VS solution file and all three of them are MVC projects. I am confused as to how to upload those to my Sitecore instance that I installed. The idea is to get it working on my local machine so I can edit the site and publish. Is there anything else that I need to ask the client to send me in order to set it up locally? Any help would be appreciated!!
In the easiest scenario you need code of the application and Sitecore items.
From what you wrote, you've got the code.
Now you need to install clean Sitecore instance (using exactly the same version as is used on the client site), compile your code and push the code to the Website folder of your Sitecore installation (e.g. using publish to folder option fro Visual Studio).
You also need Sitecore items. There are multiple options to install them in your local environment, e.g.:
get the backup of Sitecore databases from your client and restore them in your local environment
get Sitecore content packages with all the necessary items and install them in your local databases overriding items from clean Sitecore install
get serialized items (either serialized with default Sitecore serialization mechanism, Unicorn or TDS) and restore them in your local environment.
Those are all the steps required in the simple scenario. There may be other steps needed if solution is more complicated but no one will be able to tell you what you need if they don't know the project.

How to deploy a web site on IIS by using .dll file

I want to deploy on IIS my web site but I do not want to take whole project. I just need to take .dll file. Is their any way to do so.
I do not want to use visual studio only .dll file from the project to deploy.
The basic steps for deploying to IIS on windows server are as follows:
log onto the machine that is or will be hosting your application.
Use IIS Manager to create a new website for your application.
Create a new application in that site. I believe this also will automatically create an application pool with the same name for you and use it by default.
Specify the virtual directory for your application. This is going to tell IIS where to look for your mvc application. For this case lets assume it is C:\myApp
On your own machine Build the application however you build it with the correct solution configuration (i.e. Release mode). Let say the result of your build is located at C:\MyProject\bin
Copy C:\MyProject\bin from your machine onto your hosting machine at C:\myApp
You should be able to search these steps and find a step by step guide of how to accomplish them. Here is a link to some info on what sites, applications and app pools are to help you better understand.
http://www.iis.net/learn/get-started/planning-your-iis-architecture/understanding-sites-applications-and-virtual-directories-on-iis
Based on your sites requirements there will be some additional steps to set up security and alter bindings if you need to change them.
You don't need to deploy your entire website if you only make a change in a single assembly. You could copy the .DLL assembly directly to the bin folder of your website. This will trigger the Application Pool to be recycled in IIS and the changes will be taken into effect on the next request.

RAD publishing the application to IHS and WAS

We are developing a Dynamic Web project using RAD which will run on WAS 7.0. We have configured WAS 7.0 within RAD to run the application directly from RAD. We also have
a web server setup and we need the static files in our Dynamic Web project to be served from Web server.
Unfortunately when we run the application from RAD, it doesn't add the information in plugin.xml file of web server. So we checked this in <WebApplication_Name>/Manage Modules section
in WAS Admin console. We are not able specify the web server target also there.
Is there anything that we can do to tell RAD to publish the application both to WAS and IHS? Could you please assist?
I am afraid this cannot be done using the RAD IDE out-of-the-box, as it just publishes your appication to WAS.
A solution to this would be to build and publish the application using a tool like Ant and place in your build script an extra step to appropriately change the plugin-cfg file.

Strut Framework

Recently i have completed my first project using strut framework. And i want to run the project in my web space (www.mywebsite.com) instead of running it as http://localhost . How do i run it in my website? Can someone guide me please.
Thanks
First, you need an application server, if your application only uses Servlet API (you don't have EJB's) I recommend you that install tomcat or jetty servers.
Second, you must package your application in a WAR file; depending on the build tool you are using, it probably offers you some facilites to do that
Third, deploy the WAR file in the application server

how do i get subtext source code without Web platform installer?

I check all over the net and i can't find a way to get the new version of subtext without using the Web platform installer? Why do we need to install a installer in order to get the source code? what's the purpose of this additional hoop? does anyone know how to get any of the web app on the web gallery without using the web platform installer?
edit: ok, i find it on the link text
still what is the purpose of the web installer? why not just give us the source?
The Web Platform Installer is used to download and install the product on your machine. It can handle things like applying the appropriate IIS settings, setting permissions on the file system, etc...
So it's great for getting a running instance of Subtext or other web software working on a server.
If you want the source code, go to http://code.google.com/p/subtext