Orchard CMS is a free & open source project with reusability of components to develop ASP.NET applications. We can enable/install/download shared components to building ASP.NET applications. It helps us to develop own customized and content-centric ASP.NET applications availing the facility of existing modules and features
Latest Orchard version is 1.8.1 with the facility of that Orchard can be deployed to both Windows Azure Cloud Services and Windows Azure Web Sites. The beneficial aspects while developing site using Orchard CMS are:
1. Theme Selection option : Provided default theme is very flexible which we can modify for CSS & design as per our requirements. And if we want to apply new theme to get a new look & feel from scratch, then it also can be done here and in admin desired theme can be set as current.
2. Orchard Search: Orchard CMS does “Search” by keyword or query syntax for text or phrase. To get search feature, we need to enable “Search”, “Indexing” & “Lucene” modules from admin panel. Then create index, attach it to content type on which content we want to make search. Orchard query the index to get content items to display.
3. Orchard Tags Module : Orchard.Tags module. Using this module it’s very easy to save tags with custom items & display the list of items along under their specific tag(s) as well as the search on those tags.
4. Orchard Blogs & Blog comments :
Now a day’s almost every Content Management System has some specific features like Pages, Blogs and Blog Posts and same as in Orchard.
Blogs are by default enable in Orchard and can’t set disable
but we can enable and disable comments for blog, also can put conditions e.g. whether we want to allow threaded comments or not.
Comments are what make a blog/website more interactive and more social.
5. Voting & Stars : Rating is the feature by which we can facilitate user to vote our site content. To make it working first of all we need to enable “Voting” module and then “Stars” module.
Now we can use stars for to vote. We need to edit content type to add the Stars part to it. “Stars” module will show 5 stars to vote by click any of those. Voting will calculate and store values automatically.
Finally, the best part of Orchard CMS is that we can enhance/customize it as per our requirement e.g. Can develop new module, create Widgets/Taxonomies/Workflows/Indexes etc.
Cheers!
Pramod
That is all for this article, in case you need Salesforce Implementation Services for any Salesforce related work, then please feel free to reach out to sales@girikon.com
Main Part: Store huge datasets in “almost” SQL
Key Features of Cassandra DB:
Querying by key, or key range (secondary indices are also available)
Data can have expiration (set on INSERT)
Writes can be much faster than reads (when reads are disk-bound)
Map/reduce possible with Apache Hadoop
All nodes are similar, as opposed to Hadoop/HBase
Very good and reliable cross-datacenter replication
Distributed counter data type
You can write triggers in Java
Best use: When you need to store data so huge that it doesn’t fit on server, but still want a friendly familiar interface to it.
Examples: Web analytics, to count hits by hour, by browser, by IP, etc. Transaction logging. Data collection from huge sensor arrays.
Regards,
Alok
Mobile application development is a set of processes and procedures involved in writing application software for small, handheld or wireless computing devices such as smart phones, PDAs, EDAs or tablets.
In Mobile App development process, Mobile User Interface (UI) Design is also an essential part considering constraints & contexts, screen, input and mobility as outlines for design.
One critical difference between Mobile application development and traditional software development, is that mobile applications (apps) are often written specifically to take advantage of the unique features a particular mobile device offers. So, the development should be centric on optimum performance for a given device, even when application is interacting with external applications.
In such a scenario (interaction with external world) REST API is the best option. REST stands for Representational State Transfer & it is a simple stateless architecture and a communication approach that generally runs over HTTP.
REST is preferred over SOAP (Simple Object Access Protocol) for development of web services as the latter is quite heavyweight and consumes comparatively greater bandwidth. Owing to its decoupled architecture and lighter weight communications, REST usage is very prevalent in mobile applications. It is a better fit for use over the Internet and easily binds with cloud-based APIs like those of Amazon, Microsoft, and Google.
Here is an example to ” Create REST API client Async in android ”
1. This is AsyncTask which will run in background with affecting the UI.
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import android.os.AsyncTask;
public class CallRestApi extends AsyncTask
{
public AsyncResponse delegate=null;
public CallRestApi(AsyncResponse asyncResponse) {
delegate = asyncResponse;//Assigning call back interfacethrough constructor
}
@Override
protected void onPreExecute() {
// if you want, start progress dialog here
}
@Override
protected String doInBackground(String… params)
{
String urlString = params[0];
String resultToDisplay = “”;
InputStream in = null;
try
{
URL url = new URL(urlString);
HttpURLConnection urlConnection = (HttpURLConnection) url
.openConnection();
in = new BufferedInputStream(urlConnection.getInputStream());
resultToDisplay = convertStreamToString(in);
in.close();
} catch (Exception e)
{
System.out.println(e.getMessage());
return e.getMessage();
}
return resultToDisplay;
}
@Override
protected void onPostExecute(String result) {
// if you started progress dialog dismiss it here
delegate.processFinish(result);
}
private static String convertStreamToString(InputStream is)
{
BufferedReader reader = new BufferedReader(new InputStreamReader(is));
StringBuilder sb = new StringBuilder();
String line = null;
try
{
while ((line = reader.readLine()) != null)
{
sb.append(line + “\n”);
}
}
catch (IOException e)
{
e.printStackTrace();
}
finally
{
try
{
is.close();
}
catch (IOException e)
{
e.printStackTrace();
}
}
return sb.toString();
}
}
2. Create Interface for getting result.
This is for getting AsyncResponse in the activity class
public interface AsyncResponse {
void processFinish(Object output);
}
3. Call REST API client from activity class
private void functionName(String newUrl)
{
CallRestApi client = new CallRestApi(new AsyncResponse()
{
@Override
public void processFinish(Object output) {
String responseResult = ((String) output);
});
}
try
{
client.execute(new String[] { newUrl });
}
catch (Exception e)
{
e.printStackTrace();
}
}
Enjoy 🙂
Avinash
That is all for this article, in case you need Salesforce Implementation Services for any Salesforce related work, then please feel free to reach out to sales@girikon.com
Main point: Retains some friendly properties of SQL. (Query, index)
Key Features Of Mongo DB:
Master/slave replication (auto failover with replica sets)
Sharding built-in Queries are javascript expressions
Run arbitrary javascript functions server-side
Better update-in-place than CouchDB
Uses memory mapped files for data storage
Performance over features
Journaling (with –journal) is best turned on
On 32bit systems, limited to ~2.5Gb
Text search integrated
GridFS to store big data + metadata (not actually an FS)
Has geospatial indexing
Data center aware
Best used: If you need dynamic queries. If you prefer to define indexes, not map/reduce functions. If you need good performance on a big DB. If you wanted CouchDB, but your data changes too much, filling up disks.
Examples: For most things that you would do with MySQL or PostgreSQL, but having predefined columns really holds you back.
Regards,
Alok
Step 1: Attach (plug in) the printer with one computer.
Step 2: Open the Devices and Printers where you will see a list with all external devices installed on your PC.
Step 3: Go to the Printers section and select the printer you want to share.
Step 4: Right click on it -> Select printer properties -> Select Printer
Step 5: Click on the sharing tab and check share this printer box then click ok.
Regards,
Mahesh
Step 1: Look at the infrastructure area then plan how to do cabling.
Step 2: To connect PC/devices, setup a switch/hub in suitable area.
Step 3: Connect all computers and devices to the switch/hub through straight-through cable.
Step 4: Assign the IP address to all computers and devices.
Step 5: Check the connectivity using ping 192.168.1.10 command in command prompt.
Now any other cabled computer can access on local network.
Regards,
Mahesh
Recently i created a Penalization calculator which is written in Perl [.exe] language to calculate panel required to manufacture a printed circuited board. I did it for one of our customers. The output screen for this calculator looks like below:
I wanted to integrate the same penalization calculator in one of the projects which is written in java.
So I code like mentioned below to call exe in java.
package panelcalculator;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
public class PanelCalculator {
public String calculate(String strParms)
{
String result = “”;
try {
Runtime runtime = Runtime.getRuntime();
Process process = runtime.exec(strParms);
InputStream inStream = process.getInputStream();
BufferedReader reader = new BufferedReader(new InputStreamReader(inStream));
String data = “”;
while ((data = reader.readLine()) != null) {
result += data + ” “;
}
reader.close();
inStream.close();
process.destroy();
}
catch (Exception e)
{
result = e.toString();
}
return result.trim();
}
public static void main(String arg[])
{
PanelCalculator pc = new PanelCalculator();
String result = pc.calculate(“D:\\MyWebapp\\PanelizationCalculator\\PanelCalculator.exe PanelX=12 PanelY=18 NLayers=2 Spec=\”IPC-6012 Class 2\” BoardX=12 BoardY=2.25 Spacing=0.2 LaserDrill=N Flex=N Impedance=N ImpSingleEnd=0 ImpDiff=0 EdgePlating=N”);
if(result!=null){
System.out.println(result);
}
}
}
And finally i got output like following, exactly the same as I wanted:
UsableX=10.2 UsableY=14.6 MaxUp=4
Thank you.
Narendra