SmartClient

10 Dec

Using Smartclient Datasource in PHP

By shreedhara

I wanted to utilize my skills in smartclient to extend to my personal use too and it was a golden oppurtunity for me to try that in php as I thought that the admin interface for post management in wordpress is worst.

It has neither tag level,metakey level post editing features nor a keyword based search for posts,It would have been better if wordpress provided some extra features in searching post within the admin interface which they forgot to do.My affiliate website is supposed to have some N products not directly loaded into the wordpress posts table so that I can load it timely by using some keywords and tag sets. But to also provide the user admin interface so that it can search it fast.Smartclient is the only way out for me since I know that well and also its feature rich in implementing one shot features for portfolio requirements.

Now coming to smartclient datasource i php, I actually thought I would use the smartclientphp framework developed from one of the developers at smartclientphp-dot-com, but it proved more cumbersome for me to code since I always search for easy way out.

Hence I took the main course Datasource by just specifying the datasource definition dataURL:”testpage.php”

And in my testpage.php,I would rather search for _operationType from the _POST[] array rather than adding an extension like ?action=add_action which is rather like a old hag internet which is exposed.

So In my testpage I would check for the operation type like

$opertype = $_POST['_operationType'];

if($opertype !=”)
{

// If OperType is Add do something

// If OperType is Update do something

// If OperType is Remove do something


}

else{

// Say Your are accesing main page code.

}

As simple as that you see.

I dont think there is any need for anyother framework for developing smartclient in php, and rather I have opened a path in smartclient  library for the use of all developers by mentioning the trick here you see.

One can even check , aa aa aa not now, its in Progress, but rather I would give the screen shot of sample in progress work of PostMaster

untitled

Post to Twitter Post to Plurk Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Ping.fm Post to Reddit Post to StumbleUpon

23 Oct

Adding a Custom component to Smartclient VisualBuilder

By shreedhara

Smartclient provides visual builder for smart and realtime prototyping needs of a development team.
Added to that the Visualbuilder can be used to develop a full fledged application provided the team is talented enough to utilize the features to the maximum extent. databound-drag1

Smartclient namespace provides features to extend the basic components to create a customized component.
One can create a custom combobox with automatically loaded data with a code and avalue fields which load
with dependency on each other.

I happened to create one such component and was trying to add the same to the Visualbuilder and here are the steps
to do the same.

Inside the Visualbuilder folder under tools, there exists two files customComponents.xml and globalDependencies.xml.

The below entries gives which file content should go where.

1. customComponents.xml

<PaletteNode>
<title>CustomFormComboItem</title>
<className>CustomFormComboItem</className>
<icon>DynamicForm.png</icon>
</PaletteNode>

2. globalDependencies.xml

<dependency type="js" url="/cs/CustomFormComboItem.js"/>

3. We need to place the component we created CustomFormComboItem.js in /cs/ (under root folder)

4. and add an xml file called CustomFormComboItem.xml in the folder //isomorphic/system/schema/ with the content to represent the fields and the methods in our component.

<DataSource ID="CustomFormComboItem" inheritsFrom="VLayout" Constructor="CustomFormComboItem"
showLocalFieldsOnly="true" showSuperClassActions="true"
showSuperClassEvents="true">
<fields>
<field name="IDSet"  type="HTML"/>
<field name="headerTitle"  type="HTML"/>
<field name="txtField"  type="HTML"/>
<field name="comboField"  type="HTML"/>
<field name="topTitle"  type="boolean"/>
</fields>
<methods>
<method name="setHeaderTitle">
<description> Sets header title</description>
</method>
<method name="setValueMap">
<description>Sets valueMap for this form.</description>
</method>
</methods>
</DataSource>

Post to Twitter Post to Plurk Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Ping.fm Post to Reddit Post to StumbleUpon

19 Sep

Installing Smartclient

By shreedhara

Smartclient comes in 2 versions LGPL ( A free version containing only JavaScript library of smartclient with all rich GUI experience to the basic users who cannot afford to buy license paying hefty amount in thousands of dollars) and a Server based version ( A purchasable version which contains java server side libraries along with the LGPL content).

Smartclient can be downloaded from http://www.smartclient.com or http://www.isomorphic.com .

First the user needs to register to the site before downloading the zip file.Don’t worry they are the best professionals and do not scam you like other app sites you may have surfed and registered.

Download the latest SmartClient SDK from http://www.smartclient.com/download/smartclient/isc.zip?licenseType=eval&version=7.0rc2&format=zip.

I Normally use the 6.5.1 version since its the version we use at my office to develop (But licensed there, eval here at home).

Unzip the zip file to C:drive or any other drive (Note you should have jdk installed to run the java server library version).Doubleclick on the start_embedded_server.bat file to start the server and hurray now open the browser and point your browser to http://localhost:8080 and select Getting Started->Feature Explorer to  start exploring the samples and  SmartClient features.

image

Post to Twitter Post to Plurk Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Ping.fm Post to Reddit Post to StumbleUpon

19 Sep

Introduction to Smartclient

By shreedhara

Isomorphic Software introduced SmartClient AJAX GUI system long back in 2002, but was dormant since the exposure of web applications to the RIA toolkits was not well . Smartclient integrates seamlessly the productivity and performance of traditional desktop software with the the richness of a sophisticated web platform. Leading global vendors and solution providers use SmartClient technology.Smartclient usage gradually reduces costs and improves performance while deploying business software as a service, to work both inside and outside the firewall.
SmartClient leads to developing high-performance, high-productivity web applications to be deployed today.

SmartClient offers:

• Upto date AJAX technology framework,easily updateable.
• Reusable component GUI toolkit, with complete documentation
• Multigrative architecture: both including service-oriented and  metadata-driven architecture
• A tested, certified cross-browser library, cross-platform support

Leading software producers, on-demand service providers, and application developers use SmartClient to:

• Convert legacy applications to web applications.
• Upgrade existing web applications with rich user interface capabilities
• Develop next-generation AJAX RIAs (Rich Internet Applications) .

The SmartClient web presentation layer provides:

• A no-install  javascript AJAX client engine

  • Metadata-driven data access
  • Rich UI components, most specifically a full-featured, editable grid
  • Browser-based for clean deployment
  • Many other features of SmartClient are very nice such as browser independence.

    Technorati Tags: ,,,

    Post to Twitter Post to Plurk Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Ping.fm Post to Reddit Post to StumbleUpon

    What I'm Doing...

    Powered by Twitter Tools

    Telephone

    +091 (990) 08 73204

    Postal address

    Yet To Announce

    Contact Us




    All fields are required.


    Sending...

    Close contact form