Is it possible to embed Wordpress plugin within Razor view? - wordpress

I see a lot of materials on running Wordpress on .NET Core, but what I try to find is it possible to embed/host Wordpress plugin within Razor view.
Is it possible to accomplish?

Related

Wordpress plugin page for front-end users

I am new to Wordpress. but I know Joomla very well. I was trying to create a plugin which have front-end and back-end maintenance section. I completed my back-end section and I am on the way to front-end section. But I struck with some doubts. My doubts are, I found two method to implement a front-end page. One is copying the php page to template directory and assign the template in the add page section. another is create short code in plugin and add some tag inside the page section.
My doubt is which one is the correct way to do this in Wordpress?
In Joomla this is done by a component which have different views and controllers very easy to manage!
Please help me.
There's a 3rd, more code way - use filters, hooks, etc. You can actually create your own views and controllers in your plugin's folder, just learn how to use your own code in different page lifecycle stages.
Tom McFarlin's tutorials are great for learning this (proper) way of developing custom functionality with WordPress. Check them here:
http://tutsplus.com/authors/tom-mcfarlin

Integrate Drupal in Yii

I'm developing a web application in Yii (1.1 & 2.0), now the client wants to integrate WordPress in it so he can manage contents on his own.
So how can I integrate Drupal in Yii and how advanced they are?
Both Drupal and Wordpress are CMS, while Yii is a generic web application framework. You can't integrate Drupal or Wordpress in Yii, that does not make much sense and will probably cause issues. Yii likely expect your application to be structured in a particular way, and neither Drupal or Wordpress will comply with that. What is doable, is to have a Wordpress or Drupal site used for content management but not actually used to display the content to the end user. And Have a Yii application query them via an HTTP based API.
For Drupal, this is doable using the Services module.
It actually depends on what your client exactly needs.
Yii and Wordpress can be integrated in two ways (workflows) :
Wordpress under Yii (as an application).
This comprehensive guide goes through it.
Yii to power a plugin under wordpress.
You have no constraints here as wordpress is pretty flexible, you will just need to properly include Yii as you would include any other script when coding a Wordpress plugin.
As far as I understood, your are in the first scenario.

Integrate finished ASP.NET Website in Sitefinity CMS

Is there a way to integrate a finished ASP.NET Website into Sitefinity CMS? Including the master page and all stuff.
Thanks
There is no "quick integration" type of solution. That said, taking an existing site and integrating it with Sitefinity isn't very difficult. You would need to:
Download and get an installation
running
Take your master pages and turn them into
templates
Create your pages and add your content

How to generate new wordpress templates?

I need to create different wordpress templates, is there an usefull tool for it ?
Is It possible to create wordpress templates via zend framework?
You have a plugin for using Zend in Wordpress http://wordpress.org/extend/plugins/zend-framework/
For creating a new template you should start searching Google. There are plenty of tutorials. One would be this http://themeshaper.com/2009/06/22/wordpress-themes-templates-tutorial/

How to use wordpress to make a commerical/non blog website

I have managed to setup a blog on localhost quickly using wordpress. But what is ivolved in setting up a commercial website that is not a blog?
Also, should learning to use wordpress be more diffcult than learning Asp.Net or php? I can use these languages to create a website more quickly than using wordpress it seems. I'm guessing it should be possible to create a basic php website and then somehow hook it up to the admin functionality of wordpress to publish content and update it?
Any comments and suggestions will be appreciated.
Thanks,
A few thoughts on this.
First, Wordpress is based on PHP. So if you know your way around in PHP you are able to change anything within wordpress, you can build customized plugins, templates, etc.
However, using Wordpress has nothing to do with the programming languages you know. The fact that you are struggling with it is probably more because you don't understand yet what the features of Wordpress are or what you can use them for.
You can easily use Wordpress to create a simple non-blog website by setting up pages instead of posts. So you would be using Wordpress not as a blog engine but more as what's usually called a content management system CMS (not that using it as a blog engine wouldn't make Wordpress a CMS, but I'm talking about the general usage of those wordings).
A simple Google search might help you find more information about how to accomplish it in your specific case.
Hope this helps!
You need experience with PHP, HTML and CSS to configure WordPress to run like a non-blog website. Is it easier? Maybe, you get what you want but you won't understand what is going on.
If you are creating a static web page, say like a company's web site with little to none dynamic content, use pages (not posts) and create a static front page.
If you wish to use WordPress like a generic CMS, you can either use the Pods plugin or the newly introduced custom post types and taxonomies (new in Wordpress 3.0). You still need knowledge of PHP/MySQL to configure the Wordpress Loop (which is used to display blog posts and other dynamic content) and Wordpress Theme tags (to display name of the current logged in user).
Some plugins help with customizing the site for a non-blog look. Theme My Login and Theme my Profile blends the log-in page and profile page with your theme. However, if you need to customize the appearance, or add new logic, you pretty much need programming.
In short, you would need knowledge of PHP and MySQL; CSS too, if possible. Get your hand dirty building some sites, then what Wordpress offer and does for you with its API will be more relevant.

Resources