/* Oracle Advance Queue da rule based subscriber lar ile ilgili bir örnek sunacağım demo_q adlı bir queue yaratacağız ve bu queue ya gönderilecek mesajlar için 3 tane rule based subscriber tanımlayacağız. Bunlardan biri tüm mesajları almak isteyen diğeri sadece pozitif id ye sahip bir diğeri de negatif id ye sahip mesajları almak isteyen subscriberlar olacak. Bu modelde queue ya enqueue edilecek her mesaj subscriber ların rule ları na bakılarak oracle tarafından gerekirse mesaji almak isteyen her subscriber icin bir kopya olacak şekilde yaratilacak. */ --Once Queue Type ımızı yaratıyoruz CREATE OR REPLACE TYPE qtype AS OBJECT ( -- Author : SC -- Created : 29/11/2007 9:02:51 PM -- Purpose : -- Attributes id NUMBER ) ; / -- Queue Tablo muzu multiple consumer olarak yaratiyoruz BEGIN dbms_aqadm.create_queue_table(queue_table => 'DEMO_QT', queue_payload_type => 'QTYPE', multiple_consumers =>...
First step is import Comment and ContentType to your view like below from django.contrib.comments.models import Comment from django.contrib.contenttypes.models import ContentType Second step is defining your model which you want to paginate its comments content_type_id= ContentType.objects.get_for_model( YOUR_MODEL_NAME ) Last get comments of specific instance of your model class with defining object_pk as filter parameter comments = Comment.objects.filter(content_type=content_type_id,object_pk=quote_id) here is complete view code from django.core.paginator import Paginator, InvalidPage, EmptyPage from django.contrib.comments.models import Comment from django.contrib.contenttypes.models import ContentType def quote_show_page(request,quote_id): quote = get_object_or_404(Quote, id=quote_id) content_type_id=ContentType.objects.get_for_model(Quote) comments = Comment.objects.filter(content_type=content_type_id,object_pk=quote_id) paginator = Paginator(comments, 5) # Show 5 comments pe...
Strategy Strategic Management Journal California Management Review Harvard Business Review Sloan Management Review Value Creation there are only two ways to consistently add and create value successfully: either by becoming the low(est)-price champion (requiring continuous “cost innovation)” your strategy should aim to continuously offer better value – better than before, and better than competitors. or by focusing on superior customer value (aiming for high price, requiring continuous value innovation) As a principle it seems that we should be able to align our pricing as much and as closely as possible with the specific value bundle or value proposition we are offering. Value Capturing Capturing value means that you should be able to turn your value creation (as realized in a concrete value proposition) into a sustainable business, by means of what we usually call a “business model” Reference: Are You Creating or ...
Comments