What are the best practices of custom application Wordpress development? [closed] - wordpress

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have a mid size project that I need to implement on Wordpress. I am fimiliar with MVC but don't know if I can use it in conjunction with Wordpress?
I intent to use wordpress loaded images, Menus and theme only from the wordpress every thing else particularly pages ( that are going to be linked with menus) isolated from wordpress. So whenever a page is requested WP controller delagates control to my controller. This is getting me headache !!!

You can merely use everything in conjunction with Wordpress, however, if you tightly couple with Wordpress you can't:
Unit-Test your code.
Integration-Test you code (in a practically successful way).
Manage and automate staging of your code.
While you speak about MVC I assume you use it as a term for the high-level-design of a software. As long as you're able to decouple your project from Wordpress itself, the answer is yes.
If you're not able to do so, the answer is no. Wordpress itself does not offer anything that you could re-use easily to bring in MVC, it's own design is something totally different.
However as Wordpress is a software with a level of legacy introduced complexity, you need to think twice if it is actually worth to completely de-couple from Wordpress or if it's not just the technical debt it comes with that you need to legacy-align your code as well.
I highly suggest to use a decentralized version control system like git to create whatever you do. You can find a github mirror of Wordpress here: https://github.com/WordPress/WordPress
I'd say for small to mid-size projects this is the tool of choice. Keep design decisions low, as you're integrating with an existing platform so that you can't do anything greenfield anyway.

Related

Consuming SCORM Content Package in LMS [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am completely new to SCORM and LMS. Basically for now, i just need to play the content package(downloaded from SCORM website) in my project and should be able to communicate with it. I have downloaded the open source LMS DotNetSCORM since i need this in .Net project but that doesn't seem to be working properly. I basically just need a very very simple example where LMS is able to lauch the Content and able to communicate with it through javascript. I have been through adlnet and SCORM websites but all examples just seem to provide Content package and nowhere i have found an LMS that communicates with it. Any help would be valuable for me to get started.
There are many other posts on StackOverflow asking the same question:
Want my LMS to be SCORM compatable
Integrate SCORM in LMS
To Develop LMS and Scorm Sequesncing Engine
https://stackoverflow.com/questions/14237251/import-mechanism-for-scorm-packages
Importing SCORM compliant Lesson (imsmanifest.xml)
You wrote:
I basically just need a very very simple example where LMS is able to lauch the Content and able to communicate with it through javascript.
Unfortunately there is nothing simple about integrating SCORM into an LMS. If the course only uses the run-time (the JavaScript portion of SCORM), you can build a wrapper using Claude Ostyn's mini-runtime as a starting point (you'd need to build your own database and have the wrapper point to it).
But if you need to support multiple SCOs, the imsmanifest.xml file, and/or any sequencing or globals, you are embarking on a very long and difficult journey, especially if you're new to LMSs and SCORM.
My advice is to use someone else's product. Find an LMS that already provides SCORM support, or use a product like SCORM Cloud.

Is ASP.NET Web Pages with Razor Even A Contender? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I'm just getting into ASP.NET web pages with Razor. Based on what it has to offer, would you choose it for your application? It seems to me the ASP.NET MVC framework gives Razor more of an edge because of everything MVC has to offer; it's nice that the web pages framework has some helper components from the WebMatrix DLL, but most of the examples having all the code in one file, plus the reliance on a new set of API's (via webmatrix) is a turnoff to me.
What do you think?
Thanks.
Razor View Engine + ASP.NET MVC is a great combination. Razor definitely seems like the view engine of choice most of the time because it is syntactically much easier to read and work around than ASPX. This benefit alone is huge because you can have developers that are solely focused on HTML and UI development, and have them be able to work around the syntax.
The biggest problem with Razor so far has been it's intellisense support. But, it looks as if the latest version of ReSharper solved that problem nicely, and I'm sure the support for Razor will continue to get better.

How to develop a web application in alfresco? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have installed alfresco community edition and want to develop a web application having database connectivity.
I have developed that application using jsp, servlets but want to develop the same application in alfresco.
Can anybody help where to start?
I have written a series of tutorials for people new to the Alfresco platform. I humbly submit those as a good place to start. There are also a number of books available on Alfresco.
It is a little hard to tell what you are trying to do from your brief description, but if you are trying to perform CRUD operations against the repository, I strongly suggest that you start with the Content Management Interoperability Services (CMIS) standard because that gives you a vendor-neutral, language independent way to talk to Alfresco or any other CMIS-compliant repository. My tutorials cover CMIS. You also might be interested in OpenCMIS, which includes a CMIS client API for Java.
That should get you started.
One of the more documented ways is to use Alfresco Web Services Client (I am using alfresco-web-service-client-3.4.d). Its a SOAP client generated from the WSDL provided by Alfreco.
There are good examples on the web. Google for Alfresco+Web+Services+Ingres.
If you have developed the application, then it will definitely help you know the flow and understanding of the application.
You need to play around with alfresco, check their website: http://www.alfresco.com/

What is the architecture of BlogEngine.net extension manager? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I was just wondering that what is the architecture of blogengine.net extension manager ?
How it loads the extension dynamically, how can I use same kind of functionality in my web applications ? so that every time i just create one class and corresponding page then just plug into the website.
Moreover I am interested to know the architecture as I didnt find any article or tutorial on it.
Any help would be appreciable.
You can see for yourself the code is on codeplex
You can read about what it is and how it works in the wiki docs.
Blogengine uses reflection to find and instantiate types attributed as "extension" and extensions itself use event listeners to communicate with core library. Extension manager is basically API and admin front-end for all extensions running on the blog.
Maybe the Plugin Pattern, have a look here how this works..

Scanning Through an ASP.NET Page [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Can you scan directly from an asp.net page or even an embedded Silverlight object?
Silverlight doesn't have access to local devices like scanners. ASP.NET pages run in the web browser, so they also don't have access to scanners.
What are you trying to accomplish?
If user can use the 'Windows Fax and Scan' utility to scan the document and save it in the local hard disk, You may use Silverlight OpenFileDialog and read the document and save it on the server.
I've done exactly this in a few company website applications that I've worked on.
You have to use an ActiveX control to gain access from the client's browser to the configured TWAIN scanner on the machine. Once you have access you can then initiate the scanner via a webpage button, scan the document and use the newly delivered image object within your website code.
I'd recommend looking at an already developed activex component library to do this for you. An example being http://dynamic-web-twain.smartcode.com/info.html
The downside of this approach is obviously ActiveX only works with IE and requires the user to trust your website. If your user base is a trusted company or are internally based then this should not be a problem.

Resources