Sunday, March 09, 2008

შენიშვნები ანაბრების პროგრამის მიმართ

ქვემოთ შევეცდები ჩამოვთვალო ჩვენი შენიშვნები ანაბრების პროგრამის მიმართ

  1. მოთხოვნამდე ანაბარი უვადოა, შესაბამისად, არალოგიკურია ანაბრის რეგისტრაციისას დახურვის თარიღის მითითება.
    • შედეგი: იწვევს ოპერატორების დაბნეულობას და კლიენტების მომსახურების ხარისხისა და სისწრაფის გაუარესებას.
  2. იურიდიული პირის ანაბარის გახსნისას, ანაბარის ხარჯის ანგარიში უნდა შეირჩეს შემდეგი მონაცემების გათვალისწინებით:
    1. ანაბრის ტიპი (მოთხოვნამდე, ვადიანი და ა.შ)
    2. ანაბრის ვალუტა
    3. იურიდიული პირის სფერო
    4. ბანკის განყოფილება
  3. ფიზიკური პირის ანაბარის გახსნისას, ანაბარის ხარჯის ანგარიში უნდა შეირჩეს შემდეგი მონაცემების გათვალისწინებით:
    1. ანაბრის ტიპი (მოთხოვნამდე, ვადიანი და ა.შ)
    2. ანაბრის ვალუტა
    3. ბანკის განყოფილება
  4. აუცილებელია ანაბრის რეგისტრაციისას იყოს საშუალება ანაბრის ვადა პირდაპირ მიეთითოს დღეებში. მაგალითად, იყოს ველი, სადაც ოპერატორი პირდაპირ ჩაწერს დღეების რაოდენობას: 90, 180 და ასე შემდეგ.
  5. თუ ანაბრის დახურვის თარიღი ემთხვევა არასაბანკო დღეს, მაშინ აუცილებლად გამოვიდეს შეტყობინება ამის შესახებ და პროგრამამ შესთავაზოს ოპერატორს წინა, (და არა მომდევნო!) საბანკო დღე, როგორც დახურვის თარიღი. მაგალითად, თუ ოპერატორმა ანაბრის ვადა მიუთითა 90 დღე, და 90 -ე დღე კვირაა, მაშინ გამოვიდეს შეტყობინება, რომ ანაბრის დახურვის თარიღად პროგრამა აიღებს 88 -ე დღეს.

Monday, January 15, 2007

About Maslow's Hierarchy of Needs Theory

Within every human being exists a hierarchy of five types of needs:
  • Psychological needs
  • Safety needs
  • Social needs
  • Esteem needs
  • Self-actualization needs
As each level of need is substantially satisfied, the next need becomes dominant

Although no need is ever fully gratified, a substantially satisfied need no longer motivates

If you want to motivate, someone, according Maslow, you need to understand where that person is in the hierarchy and focus on satisfying needs at or above that level

Thursday, November 09, 2006

Creating a Simple Budget

Creating a Simple Budget: "Write your goals down. Studies show that goals that are written down have a better chance of becoming reality than goals that are thought or spoken. Determine your financial goals for the next year as well as for the next five years."

Wednesday, September 13, 2006

Design Patterns for .Net

Design Patterns for .Net

Behind the Scenes: Discover the Design Patterns You're Already Using in the .NET Framework -- MSDN Magazine, July 2005

Behind the Scenes: Discover the Design Patterns You're Already Using in the .NET Framework -- MSDN Magazine, July 2005

ASP.NET: Developing and Using a Custom Server Control

In general, when your control derives from WebControl and renders a single element, you should override the RenderContents method (and not the Render method) to render content within the control's tags. The Render method of WebControl invokes RenderContents after rendering the opening tag for the control and its style attributes. If you override the Render method to write contents, your control will lose the style-rendering logic that is built into the Render method of WebControl.

Tuesday, September 12, 2006

Custom Sort Order in SQL Server

არცთუ ხშირად, მაგრამ შესაძლებელია, საჭირო გახდეს მონაცემთა ბაზის ცხრილის სვეტის სორტირება არა ანბანის, არამედ რაიმე სხვა, თავისუფალი წესის მიხედვით. მაგალითისათვის, ავიღოთ Customers ცხრილი Northwind ბაზიდან Microsoft SQL Server -დან. დავუშვათ, გვინდა კლიენტების სორტირება ისე, რომ კლიენტები ამერიკიდან იყვნენ სიის თავში, მათ მოსდევდეს კლიენტები დიდი ბრიტანეთიდან და ა.შ. ერთერთი მეთოდი მდგომარეობს CASE კონსტრუქციინ გამოყენებაში. მომყავს სკრიპტი:
SELECT *
FROM Customers
ORDER BY
CASE country
WHEN 'USA' THEN 1
WHEN 'UK' THEN 2
WHEN 'Canada' THEN 3
WHEN 'Ireland' THEN 4
WHEN 'France' THEN 5
ELSE NULL
END,
customerid


Wednesday, August 16, 2006

The Essential Guide to SQL Server 2005 High Availability

Peer-to-peer replication is a SQL Server 2005 technology option that can help you create a more available system and also let you scale your geographic workloads by replicating data between remote sites.This technology isn't completely new; it's based on the transactional-replication technology in SQL Server 2000. In fact, you might be using peer-to-peer replication technology today in SQL Server 2000 if you're using bi-directional transactional replication. But peer-to-peer replication in SQL Server 2005 significantly enhances this existing technology and also provides a series of wizards that can help you manage the setup and configuration of the Peer-to-Peer infrastructure. Here's an introduction to what peer-to-peer transactional replication is, what it looks like, and how to get the tools you need to use it.

What It Is
SQL Server provides two main types of replication: merge replication and transactional replication.You typically use merge replication between a database server and a client machine.This form of replication is great to use when you need to have client machines that aren't constantly connected to the main database. Merge replication includes features that perform conflict resolution to ensure that data always stays up to date in the database but lets you query and update local data, then merge it back into the main data store. I'll cover merge replication in more detail in an upcoming column.

You use transactional replication primarily between servers to keep sets of data up to date on multiple servers.You can also use transactional replication as a scalability solution because it lets you replicate data to multiple servers so that applications can hit various servers independently instead of overloading just one server.The ability to have multiple copies of your data also increases data availability; if one of your replication sites goes offline, all you need to do to access the data is switch to a different site. Be aware that SQL Server can't automatically perform this switch.You perform the switch at the application level by adding code that automatically redirects a connection if a particular database isn't available.

Peer-to-peer replication uses existing transactional replication technology, which lets you have identical databases continuously synchronizing in near real time, then enhances this functionality by providing bi-directional replication between all peers in a system. Peer-to-peer is a form of asynchronous replication, so it has some latency. In addition, it's possible that if one of your servers goes down, not all of the transactions will make it to the other servers. However, because peer-to-peer replication operates in near real time, the amount of latency and potential data loss is extremely low.

What It Looks Like
The most basic concept you need to understand in peer-to-peer replication is that every server contains all of the data but each server is responsible for updating only its own subset of data. Thus, every server carries the same schema and each server is a subscriber to all the changes that happen on the other servers while being a publisher of its own changed data. When data changes on one server, those changes go out to all the subscribers in the peer-to-peer network.

Imagine a typical peer-to-peer configuration in which three servers are distributed geographically, one in London, one in Los Angeles, and one in Taipei. Each server contains and updates data specific to its geographic location and also sees all the data from the other locations. A key part of peer-to-peer replication is that each server is responsible for changing its own data set and no other location can change any of the data in that data set. If this rule is violated, the data could be changed in two places, and because there's no data locking between sites, when the data is replicated, you can end up with inconsistent results. For example, in our three-server scenario, it's likely that you would divide the data based on the geographical location of the servers. Thus, the server in London would see and have access to query all the data in the organization, but would be responsible for updating just the local London data. Likewise, the server in Los Angeles could query the London data but couldn't update it.

This architecture gives you the ability to scale the number of users or processes running on each server while still giving users access to all the data from every server. It also provides high availability for the entire system; if one or more sites go offline, the other sites will continue to operate and replicate data.You can redirect the applications at the offline site so that they talk to one of the other replication sites in the network and continue to query and work with data, thus reducing possible downtime. Once the offline site comes back online, the replication process restarts and the site receives all of the changes that have happened at the other sites.

The Tools to Make it Work
The process of setting up and configuring peer-to-peer transactional replication is simplified in SQL Server 2005 Management Studio.You can find the steps for setup and configuration in the Microsoft article "How to: Configure Peer-to-Peer Transactional Replication (SQL Server Management Studio)" at http://msdn2.microsoft.com/en-us/ library/ms152536.aspx. In addition to making peer-to-peer replication easier to set up, SQL Server 2005 also introduces enhancements to the replication monitor that help you more easily understand and watch what's happening in your replication infrastructure.The replication monitor lets you keep track of the latency in your environment—right down to a publication level—and can help you understand and tune your system to reduce the latency. For more information about the replication monitor, read the Microsoft article "Monitoring Replication with Replication Monitor" at http://msdn2.microsoft.com/en-us/library/ms151780(en-US,SQL.90).aspx.

Peer-to-peer replication is an interesting technology that can bring significant scalability and availability benefits to many database environments, and in SQL Server 2005 it's simpler to set up, configure, and manage than in previous SQL Server releases. If you have multiple remote sites and the ability to split your data sets so that certain sites have unique sets of data, you can take advantage of all the great benefits of this next generation of replication.


To download the PDF, click here
http://lists.sqlmag.com/t?ctl=350F9:8A6D4