Bambarbia Kirkudu

SEO, Data Mining, Web Indexing, Fuzzy Logic, and more.

Friday, July 4, 2008

Liferay Portal, Enterprise SOA

The problem:
"Ok, I realize that anonymous blog comments are not currently available (as of v4.3.5). I'm just wondering when EXACTLY blog comments will be available (Are they currently being developed? Are the changes in the trunk and I can check it out from SVN and build from source right now? Are the changes scheduled to be done soon?) Any information would be helpful.
I'm asking because I've added the ability to do guest comments in the blogs in my own customized liferay instance. However, I had to modify the core liferay source to do it (couldn't do it with just the extension environment). So, now I'm stuck using 4.3.1 because I absolutely cannot upgrade my liferay instance without this functionality and It's been so long since I made the modifications that I'm not sure I could duplicate them. Nor do I desire to duplicate the same work over again."

Just a teaser :)

Have you tried to manage /resource-actions/blogs.xml in Liferay version 5.0.1 RC1?


VIEW
ADD_DISCUSSION


DELETE
DELETE_DISCUSSION
PERMISSIONS
UPDATE
UPDATE_DISCUSSION




You may also need to remove themeDisplay.isSignedIn() checks from /html/taglib/ui/discussion

There is also bug in ext-impl/build-parent.xml, something is missed:





Liferay 5.0.1 RC1 EXT:

1. Modify /html/taglib/ui/discussion/page.jsp, remove some code
[c:if test="<%= themeDisplay.isSignedIn() && MBDiscussionPermission.contains(permissionChecker, portletGroupId.longValue(), className, classPK, ActionKeys.ADD_DISCUSSION) %>"]
at least remove themeDisplay.isSignedIn(); it may affect all portlets using this tag - you can create your own tag indeed...

2. Look at Liferay 4.4, Portlet Development, Chapter 5, modify blogs.xml & portal-ext.properties; see also Wiki - Portlet Permissions

3. Verify MBMessageServiceImpl; you need to allow addDiscussionMessage():
use getGuestOrUserId() instead of getUserId()

View Fuad Efendi's LinkedIn profileView Fuad Efendi's profile

Thursday, July 3, 2008

Liferay Portal in Canada & USA: Faster Development Time!

Liferay Portal:



Linux Magazine Recognizes Liferay as a Leading Solution For Enterprise CommunicationAshley Wilson writes in the June 2008 issue, "Liferay has been around for years and it keeps getting bigger and better... From an e-commerce platform to a collaborative intranet portal, Liferay has the scalability and functionality built-in to deploy quickly and grow as the needs of the company grow. Liferay is just about the best portal/CMS out there and a superb foundation for unifying and simplifying company communication."

Behind The Scenes


You will have to work directly with source code in Extension Environment. Even if you need a little: you will have to change some html tags in JSPs.

You will have to fix some bugs.

You will have to discover that 99% overloaded CPU happens with Mozilla, and almost never with IE. Of course, never at Server Side.

You will enjoy with faster development time.

Tuesday, June 17, 2008

Shopping Price Engines - Do We Need Price Comparison?!

Do we really need "comparison"? Search for MacBook at ShopWiki.com retrieves image with box of apples (Macintosh?!)
Can't we go easier, with direct link to product page of a merchant!?

Tip of the day: How to choose an air purifier
Consumers Union, the nonprofit publisher of Consumer Reports, con...
Black Friday HDTV Deals from CompUSA, Staples
Black Friday ads leaked for computer chains CompUSA and Staples s...
Avoid gift card pitfalls
They’re convenient and popular, but gift cards are often lo...
The fastest way to deal with leaves
The fastest, easiest way to handle the drudgery that is fall clea...
U.S. gas prices—November 12, 2007
Gas prices continue to climb higher. National retail fuel price a...
Survey - Most car buyers satisfied with their dealership experience
Overall, car buyers are largely satisfied with their dealership e...

In the United States, the first two internet comparison shopping services were Jango and RoboShopper. These services were initially implemented as client-side add-ins to the Netscape and Internet explorer browsers, and both required that additional software be downloaded and installed. After these initial efforts, comparison shopping migrated to the server so that the service would be accessible to anyone with a browser.

Currently some of the major U.S. Based comparison shopping services are Pricegrabber, Shopzilla, Dealtime, and NexTag.[citation needed] Major portals like Yahoo!, AOL and MSN also offer comparison shopping services. In the UK some of the major comparison shopping services are DealClick and CompareStorePrices as well as the aforementioned U.S. websites which also provide UK services. The financial comparison sector has seen significant growth in the Uk with a large number of new sites emerging over recent years. Such sites include Money Expert and UK Financial Options[3].

The original Roboshopper.com site still exists and has been re-targeted as a "Meta" tool which gives results from the leading comparison shopping sites, as well as product review and rating sites.
--



What about Dulance? I didn't have a chance to look at it... they sold themselves to Google. What He is doing in Moscow, any research? Xi-xi-xi!!!


Samples of "Description" meta tags found on Google:

- We offer you a complete and fully functional price comparison website based ... You keep 100% of any commission; Search Engine Friendly, fully customizable. ...

- Best Shopping Price Guide, that allows users to make buying decisions through compare price shopping, use our website daily on ...

- Brick Marketing offers shopping comparison & shopping feed management service to help rank well with shopping comparison sites.

- PriceGrabber.com allows you to compare prices on all the most popular products. We also have product reviews by consumers like you. Our comparison shopping ...

BTW PriceGrabber is WORST one and best-SEO-optimized, including stupid ugly robots.txt file (which stupid ugly SEO follows, see WMW)...

;)

Friday, April 11, 2008

Java HTML Parsers Comparison

I found this interesting post and repeated tests:
- Fastest is NekoHTML.
- most correct is NekoHTML.

Only URL to nice internet shop (for beauties!) shows the difference, 144 links found with HtmlCleaner, and 116 with NekoHTML. After quick copy-paste to Excel and sorting links I found that some links are simply repeated by HtmlCleaner probably due to bug... so that all parsers behave the same, correctly parsing ugliest HTML.

NekoHTML is also the best by parformance (2 times fasted than closest competitor).

I compared also with TagSoup which is slowest one...

Here are Java files, enjoy! Performance test commented out, don't have a time to refactor it...


...
P.S.
I removed Java Source due to bug in RSS

Wednesday, October 24, 2007

BEA Workshop, Adobe Flex!

Simply go to the shopping cart, and enter in Discount Code:

flex399103107

(extremely limited time offer!)

(printed without explicit permissions... ask BEA! BEA Workshop Studio 10.1 with Adobe Flex 2 & Charting)

Only for $399, even cheaper in Canada

(is US dollar really cheap? Street prices go down even faster than US$, isn't it misunderstood? - subj of another discussion, it is not related to this promotion from BEA)

You'll get the best JEE IDE. It is faster/better/smarter than MyEclipse. And it is bundled with Adobe Flex with Charting.

Retail price for Workshop Studio: about $900-$1000. Adobe Flex: $500, with charting: 750.

Of course, you can say it's tricky... it is 1-year subscription... The truth is that $399 is affordable price (for us, contractors); and it is even cheaper than possible upgrade options for "life-time" products (I never seen lifetime products... smile;) - compare with Rational XDE etc...


That's it!!!

I was thinking about Adobe Flex with Chart, and cheapest prices are around $650-$750 (do not believe if you can find cheaper via PriceGrabber, NexTag, CNET! I found some, for $280, with "academic license" in description... professional licenses are around $700).

I was using MyEclipse IDE for more than 3 years, rich functionality but not so deep... imagine how many times you needed additional plugins and XML Editor or something else crashed after non-compatible upgrade... At least I needed additionally DbVisualizer. BEA will also collaborate with DbVisualizer (currently it is SWING application, hope it will change!)

Thanks for reading this, and do not try to run through deterministic garbage collection!

Almost forgotten... I initially tried to buy from Adobe, because IDE license includes an option for deployment/debugging which is of course JRun + Adobe LiveCycle ES and which costs 10,000 itself! It provides synchronous services between JEE and Flash; asynchronous are free (you can use Spring Facade on WLS without LiveCycle).

Of course licensing agreement includes single-CPU LiveCycle ES - it is a must for Flex development. I read somewhere at Adobe that you can even use it in production (single CPU) when you buy Flex IDE.

Need to confirm.


P.S.

Confirmation just arrived... Unfortunately not from Adobe, they sell it for 10k per-CPU. LiveCycle Data Services ES Express (very long name... check it frequently, they are extremely fast) is FREE.

"In addition to the clustering and load balancing restrictions detailed above, the Express version of LiveCycle Data Services ES does not include LiveCycle Remoting for easy integration with LiveCycle document and process services. In addition, the generated PDF documents using the new RIA-to-PDF feature are watermarked in the Express edition."
- we don't need that; more details at http://www.adobe.com/products/livecycle/dataservices/faq.html. And it is production-level(!) licensing, without any restrictions (single-CPU only).
Most important: Business Facade - Flex communication is synchronous(!) with LiveCycle ES Express, and async with SOAP/REST/ etc.
Few months ago I downloaded JRun-based LiveCycle ES bundle and moved some jar files easily to Tomcat (+ separate JMS implementation and etc.). Would be nice to have WebLogic-based ES.

This article was first published at Bambarbia; LifeRay has some limitations with anonymous posting (I don't know it in depth yet) and I moved this post here... www.bambarbia.com is currently powered by BEA JRockit 6 R27.3 at SuSE 10 ES, AMD64, Tomcat 6 + APR, over ADSL (700kbps upload, async), can you believe that?!!

P.S.

I added some thoughts at http://dev2dev.bea.com/blog/phumphrey/archive/2007/

Tuesday, July 24, 2007

No Frills Comparison Shopping for Computers Tops My Wish List

No Frills Comparison Shopping for Computers Tops My Wish List

Interesting article about Tokenizer, Shopping Price Engine

I wish I can normalize data soon. Some stores like Best Buy show 200 for pages which do not exists; with a short message "Item not found". I already know how to automate mining in this specific case: I'll simply calc number of inbound links. Without mining ;)

For submissions, send Email to the Agent.

Submit URL here

Monday, July 23, 2007

Christophe Coenraets

Christophe Coenraets

- this blog is simply the best guide on Flex!
Thank you, Christophe.

About Me

Fuad Efendi
Liferay Consultant, SOA, Weblogic
View my complete profile