Which is better, build a website or use CMS sites? - content-management-system

I'm attending to build a website that display items like 'laptops...etc'.
The datasource of the items are obtained from XML in URL link...
Can u please advice me which is better, building a website from the scratch, or use CMS system??
If u suggest CMS system, Is there anyway to do it in wordpress or joomla??
the following is a sample of an XML item...
<STORE URL="http://www.co.il/" DATE="09/07/2016" TIME="14:29:25" NAME="A.D.S. Soudry Computers ltd" STATUS="ONLINE">
<PRODUCTS>
<PRODUCT>
<PRODUCT_NAME>
<![CDATA[ AGEstar USB 3.0 HDD Docking Station 3UBT6 ]]>
</PRODUCT_NAME>
<CATALOG_NUMBER>28800</CATALOG_NUMBER>
<MODEL>
<![CDATA[ USB 3.0 HDD Docking Station 3UBT6 ]]>
</MODEL>
<DETAILS>
<![CDATA[
*AGESTAR 3UBT6 with two colors black and white for your various choices,is designed with high-grade engineering plastic material.The high-grade engineering plastic is not only solid but also fashionable modeling in unique shape.With using erect and
]]>
</DETAILS>
<PRODUCT_URL>
http://www.co.il/he/product_h.php?idn=28800&arabic=1
</PRODUCT_URL>
<CURRENCY>ILS</CURRENCY>
<PRICE>298</PRICE>
<SHIPMENT_COST>0</SHIPMENT_COST>
<DELIVERY_TIME>7</DELIVERY_TIME>
<MANUFACTURER>
<![CDATA[ AGEstar ]]>
</MANUFACTURER>
<WARRANTY>""</WARRANTY>
<PRODUCT_TYPE>laptops-docking</PRODUCT_TYPE>
<IMAGE>http://www.co.il/images/205_bigagestarusb.jpg</IMAGE>
<TAX>1</TAX>
</PRODUCT>
</PRODUCTS>
</STORE>

I suggest you to use a CMS if you do not need very specific platform. Specially if you want to display items as in a e-commerce solution.
So, in my opinion:
Prestashop
Wordpress with Woocomerce plugin
Joomla with Ikashop plugin

I suggest you for any shoping websites use woocommerce plugin on wordpress

Related

How to restrict components in parsys

Is there a way in CQ 5.6 to restrict use of specific components within a parsys? e.g. I want to restrict author to use only text component within a parsys, following is how I render the parsys inside one of my component JSP file:
<cq:include path="textpar" resourceType="foundation/components/parsys" />
Previously in CQ 5.4 following code in /etc/designs/myapp/.content.xml used to work for this:
<textpar
jcr:lastModified="{Date}2012-10-21T15:00:00.000-07:00"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
sling:resourceType="foundation/components/parsys"
components="[/libs/foundation/components/text]">
<section jcr:primaryType="nt:unstructured"/>
But in CQ 5.6 it's not working. Am I missing something or the way to restrict components changed?
Thanks
This actually works. There's seems to be some cache issue on my machine though, whenever I change something in /etc/designs/myapp/.content.xml I've to clear my cache to get the updated components, this is on FF 25 (Ubuntu 12.04).
Here is a very easy tutorial on setting default types for parsys and iparsys:
http://experiencedelivers.adobe.com/cemblog/en/experiencedelivers/2012/06/default-components-in-your-parsys.html

GWT and Websphere Commerce?

In one of our projects we have reached the point where we have to ditch out old Madisson-based platform and move on. Unfortunately, Aurora does not look like a perfect fit, so we are looking at alternatives.
One option is to build a GWT based front end. This would allow us to drop JSP, Dojo and most JavaScript in favor of a Java-based platform.
Has anybody tried anything like this before?
How would I make it work with for example Dynacache?
I would read this redbook. It has an example of how to code the JSPs - http://www.redbooks.ibm.com/redbooks/pdfs/sg247393.pdf.
Also if you're moving to FEP6, you'll also want to use the WebSphere Commerce tag libraries and some of the metatags so that the inline editing and some of the advanced store preview features work correctly.
Finally, I would engage your local IBM technical team since there are other customer who have done this before and you want to learn from their best practices.
I've no experience with IBM starter stores. I'll try to help, though.
The back-end/front-end integration occurs by putting RPC servlets in a package shared by your back-end and front-end code, as explained here. It shouldn't be a problem to set that up.
I've no idea if dynamic caching will still work, but those RPC calls are also based on URL and I don't see why the cache wouldn't work for them if you set that up properly.
If you don't want to rewrite all your client from scratch and for a step-by-step migration, you could keep your JSP and use little GWT modules to replace the Dojo/js code on your pages.
In the same way your old Dojo/js code can be called from the GWT module if you would like to keep some parts of it.
Hope it helps...
I am not gonna ask you why you want to drop Madison starter store JSPs/DOJO apis and javascript, But that will be massive amount of work for you !
I guess you need to architect your calling from GWT to Server side to be like RESTfull format and can take parameters and add the dynacache entries like servlet/Rest paths that way you can cache the responses from back end which can be JSON or XML format . and of-course that will work
e.g:
<cache-entry>
<class>servlet</class>
<name>/path/GetCatalogs</name>
<property
name="save-attributes">false</property>
<property name="store-cookies">false</property>
<timeout>3600</timeout>
<priority>3</priority>
<cache-id>
<component id="storeId" type="parameter">
<required>true</required>
</component>
<component id="catalogId" type="parameter">
<required>true</required>
</component>
</cache-id>
...
</cache-entry>

Integrate Htmls into GWT

We have a web application that its UI is based on GWT.
We are pretty satisfied from the technology, but we have one major problem: We get html files from our designer, and it takes a lot of time to integrate them into our GWT code.
Is there a quick way or rules to do that?
For instance, I would like to take the html, put it almost "as is" in a ui.xml file, and then start binding the components to UiBinder fields.
What is the quickest way to do that? What should I do with the CSS and JS files that I get?
I need some guidelines to make this conversion, so it will be quick & easy.
We have the same problem. It might be hard for a designer to get used to GWT widgets. But he'll have to forget about making HTML proof-of-concepts and using GWT directly.
We didn't overcame the difficulty. As a result, many GWT features are under-used (like CSSResources, or GWT-Bootstrap layout capabilities).
I would advise to have him learn the xml of GWT widget libraries.
You can also start by using GWT Designer. This way he can still do the design, learn the XML bit by bit, and you can still work on wiring the components.
Of course it is a slow process. People don't change old habits instantly.
Errai seems to fit your requirements.
Basically is uses regular HTML5 templates, binded to GWT logic.
"Create standard conform HTML5 templates or use existing HTML and CSS files to design your web and mobile applications."
http://errai.github.io/
Here is an example of a sign-in page:
<!DOCTYPE html>
<link rel=stylesheet href="css/TodoList.css">
<div data-field="main">
<h1>Get it done with Errai.</h1>
<div class=form>
<p class=error data-field=loginError>
Login failed. Please check that your email address and password were entered correctly.
</p>
<input type=text data-field=username placeholder="Email">
<input type=password data-field=password placeholder="Password">
<button data-field=loginButton>Sign In</button>
<p>New here? Sign up in seconds!</p>
</div>
</div>
source
(p.s. I've never used it, yet)

dynamic feedback with JSF & jQuery / Javascript

We are working on a project with JSF and PrimeFaces and we are looking to add dynamic inline validation on our forms. I'm not sure if PrimeFaces can handle this (correct me if I am wrong) so I am looking for some alternatives
Does anyone know of any plugins we could use to do this? Prefer something that incorporates JSF too...
I'm not a developer but a UX guy so sorry if some of the terminology is incorrect.
Standard JSF supports server side validation by ajax (live example here) and PrimeFaces definitely also supports it (live example here). You can add <f:ajax event="blur" render="message_id" /> inside input components to perform validation directly on blur (see also this tutorial).
<h:inputText id="foo" value="#{bean.foo}" required="true">
<f:ajax event="blur" render="foo_message" />
</h:inputText>
<h:message id="foo_message" for="foo" />

What is CMS/Framework used in both of this website?

Both of this website has similar feature and interface, so I have strong feeling that both of this website built on same CMS/framework:
lintasberita.com
cekberita.com
Its built on PHP
But What is the CMS/Framework used by that website?
Thank you.
<meta name="description" content="Hotaru CMS is an open source content management system, written in PHP." />
Although having looked at that source code, I'm not seeing anything to encourage me to use it.
Of course, the multiple <script> elements, comment before the Doctype, meta description designed to wreck listings in Google, invalid HTML and hideous design could be the author's fault…
In the page source of cekberita.com, there was written in a meta tag: "Hotaru CMS is an open source content management system, written in PHP." So I guess it is Hotaru.